[Numpy-discussion] Medians that ignore values
Fri Sep 19 03:35:01 CDT 2008
Stéfan van der Walt wrote:
> I agree completely.
Me too, but I am extremely biased toward nan is always bogus by my own
usage of numpy/scipy (I never use NaN as missing value, and nan is
always caused by divide by 0 and co).
I like that sort raise an exception by default with NaN: it breaks the
API, OTOH, I can't see a good use of sort with NaN since sort does not
sort values in that case: we would break the API of a broken function.
> Unfortunately, this needs to happen at the C level.
More information about the Numpy-discussion