[SciPy-user] How to get rid of nan and Inf

Tim Gray tgray@protozoic....
Thu Jun 12 13:02:11 CDT 2008


nan_to_num() does this. I think it's somewhere in numpy.

Makes Nan's -> 0's and infs -> machine limits.


More information about the SciPy-user mailing list