[Numpy-discussion] Bug in np.nonzero / Should index returning functions return ndarray subclasses?

Benjamin Root ben.root at ou.edu
Sat May 9 16:27:03 EDT 2015


On Sat, May 9, 2015 at 4:03 PM, Nathaniel Smith <njs at pobox.com> wrote:

> Not sure what this has to do with Jaime's post about nonzero? There is
> indeed a potential question about what 3-argument where() should do with
> subclasses, but that's effectively a different operation entirely and to
> discuss it we'd need to know things like what it historically has done and
> why that was causing problems.



Because my train of thought started at np.nonzero(), which I have always
just mentally mapped to np.where(), and then... squirrel!

Indeed, np.where() has no bearing here.

Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150509/f674a22b/attachment.html>


More information about the NumPy-Discussion mailing list