[Numpy-discussion] Medians that ignore values
Pierre GM
pgmdevlist at gmail.com
Fri Sep 19 12:05:29 EDT 2008
On Friday 19 September 2008 12:02:08 Peter Saffrey wrote:
> Alan G Isaac <aisaac <at> american.edu> writes:
> > Recently I needed to fill a 2d array with values
> > from computations that could "go wrong".
> Should I take the earlier advice and switch to masked arrays?
>
> Peter
Yes. As you've noticed, you can't compare nans (after all, nans are not
numbers...), which limits their use.
More information about the NumPy-Discussion
mailing list