[SciPy-user] nan puzzle

Alan G Isaac aisaac at american.edu
Tue Jul 12 20:29:44 CDT 2005


Is this expected behavior?
Thank you,
Alan Isaac

>>> z=[0,1,nan]
>>> x=nan
>>> x
-1.#IND
>>> x is nan
True
>>> x=z[2]
>>> x
-1.#IND
>>> x is nan
False
>>>




More information about the SciPy-user mailing list