[Numpy-discussion] Medians that ignore values

Robert Kern robert.kern@gmail....
Fri Sep 19 22:50:41 CDT 2008

On Fri, Sep 19, 2008 at 22:25, David Cournapeau
<david@ar.media.kyoto-u.ac.jp> wrote:
> Stéfan van der Walt wrote:
>> Why shouldn't we have "nanmin"-like behaviour for the C min itself?
> Ah, I was not arguing we should not do it in C, but rather we did not
> have to do in C. The current behavior for nan with functions relying on
> ordering is broken; if someone prefer fixing it in C, great. But I was
> guessing more people could fix it using python, that's all.

How, exactly? ndarray.min() is the where the implementation is.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco

More information about the Numpy-discussion mailing list