[Numpy-discussion] Behavior of nan{max, min} and nanarg{max, min} for all-nan slices.

Stéfan van der Walt stefan at sun.ac.za
Wed Oct 2 14:05:33 EDT 2013


On 2 Oct 2013 19:14, "Benjamin Root" <ben.root at ou.edu> wrote:
>
> And it is logically consistent, I think.  a[nanargmax(a)] == nanmax(a)
(ignoring the silly detail that you can't do an equality on nans).

Why do you call this a silly detail? It seems to me a fundamental flaw to
this approach.

Stéfan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20131002/d93bc114/attachment.html>


More information about the NumPy-Discussion mailing list