[Numpy-discussion] Medians that ignore values

Stéfan van der Walt stefan@sun.ac...
Fri Sep 19 07:55:12 CDT 2008

2008/9/19 David Cournapeau <david@ar.media.kyoto-u.ac.jp>:
> But cannot this be fixed at the python level of the max function ? I

Why shouldn't we have "nanmin"-like behaviour for the C min itself?
I'd rather have a specialised function to deal with the rare kinds of
datasets where NaNs are guaranteed never to occur.

> But on my numpy, it looks like nan breaks min/max, they are not ignored:

Yes, that's the problem.


More information about the Numpy-discussion mailing list