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

Keith Goodman kwgoodman at gmail.com
Thu Jan 4 18:14:43 EST 2007


On 1/4/07, Sebastian Haase <haase at msg.ucsf.edu> wrote:
> How do I test if an array contains NaN ?
> Or others like inf ...?

isnan()
~isfinite()
any()



More information about the NumPy-Discussion mailing list