[Numpy-discussion] How do I test if an array contains NaN ?

Keith Goodman kwgoodman at gmail.com
Thu Jan 4 18:55:25 EST 2007


On 1/4/07, Christopher Barker <Chris.Barker at noaa.gov> wrote:
> And if you're an idiot like me that for some unknown reason still does
> not use ipython, you can always do:
>
> for i in dir(N):
>      if "nan" in i: print i

I'm always impressed by those who take the stairs instead of the elevator.



More information about the NumPy-Discussion mailing list