[Numpy-discussion] the difference of np.nan, np.NaN, np.NAN?

Chao YUE chaoyuejoy at gmail.com
Fri Oct 14 04:33:48 EDT 2011


Dear all,

is there any difference between np.nan, np.NaN and np.NAN? they really
confuse me....
they are all Not a Number?

In [75]: np.nan==np.NaN
Out[75]: False

In [77]: np.NaN==np.NAN
Out[77]: False

Thanks a lot,

Chao

-- 
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20111014/22015ee7/attachment.html>


More information about the NumPy-Discussion mailing list