[SciPy-user] isnotnan

Bruce Southey bsouthey@gmail....
Thu Feb 12 20:38:35 CST 2009


Hi,
Thanks to the Doc Marathon!

Perhaps numpy.isfinite() is what you want:
http://docs.scipy.org/doc/numpy/reference/generated/numpy.isfinite.html

It is even linked from numpy.isnan() page
http://docs.scipy.org/doc/numpy/reference/generated/numpy.isnan.html

Bruce



On Thu, Feb 12, 2009 at 5:47 PM, Robert Kern <robert.kern@gmail.com> wrote:
> On Thu, Feb 12, 2009 at 17:06, R. Padraic Springuel
> <R.Springuel@umit.maine.edu> wrote:
>> Is there a isnotnan function somewhere in the numpy or scipy library that
>> functions similarly to isnan (except that the results are reversed)?
>
> ~isnan(x)
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
>  -- Umberto Eco
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-user mailing list