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

Keith Goodman kwgoodman at gmail.com
Thu Jan 4 17:14:43 CST 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