[SciPy-user] nan puzzle

Alan G Isaac aisaac at american.edu
Tue Jul 12 21:29:44 EDT 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