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

Tim Gray tgray at protozoic.com
Thu Jun 12 14:02:11 EDT 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