[Numpy-discussion] Medians that ignore values

Stefan Van der Walt stefan@sun.ac...
Fri Sep 19 10:09:07 CDT 2008

On 19 Sep 2008, at 16:07 , Alan G Isaac wrote:
> On 9/19/2008 4:35 AM David Cournapeau apparently wrote:
>> I never use NaN as missing value
> What do you use?

Masked arrays.  Using NaN's for missing values is dangerous.  You may  
do some operation, which generates invalid results, and then you have  
a mixed bag of missing and invalid values.


More information about the Numpy-discussion mailing list