[Numpy-discussion] Medians that ignore values
Alan G Isaac
Fri Sep 19 09:07:56 CDT 2008
On 9/19/2008 4:35 AM David Cournapeau apparently wrote:
> I never use NaN as missing value
What do you use?
Recently I needed to fill a 2d array with values
from computations that could "go wrong".
I created an array of NaN and then replaced
the elements where the computation produced
a useful value. I then applied ``nanmax``,
to get the maximum of the useful values.
What should I have done?
More information about the Numpy-discussion