[Numpy-discussion] numpy.float64(numpy.NaN)!=numpy.NaN

Simon Burton simon at arrowtheory.com
Mon May 15 01:46:26 EDT 2006


On Mon, 15 May 2006 17:08:46 +1000
Simon Burton <simon at arrowtheory.com> wrote:

> 
> >>> numpy.float64(numpy.NaN)==numpy.NaN
> False
> 
> Hmm. Bug or feature ?

I don't know, but I just found the isnan function.
Along with some other curious functions:
['isnan', 'nan', 'nan_to_num', 'nanargmax', 'nanargmin', 'nanmax', 'nanmin', 'nansum']

:)

Simon.


-- 
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com 




More information about the NumPy-Discussion mailing list