[Numpy-discussion] Medians that ignore values

Peter Saffrey pzs@dcs.gla.ac...
Mon Sep 22 07:59:27 CDT 2008


David Cournapeau <david <at> ar.media.kyoto-u.ac.jp> writes:

> Unfortunately, we can't, because we would loose generality: we need to
> compute median on any axis, not only the last one. The proper solution
> would be to have a sort/max/min/etc... which knows about nan in numpy,
> which is what Chuck and I are working on ATM,
> 

Of course - thanks for looking at this.

Peter



More information about the Numpy-discussion mailing list