[Numpy-discussion] Replacing NANs

Vishal Rana ranavishal@gmail....
Tue Mar 30 13:59:40 CDT 2010


Hi,

In an array I want to replace all NANs with some number say 100, I found a
method* **nan_to_num *but it only replaces with zero.
Any solution for this?
*
*Thanks
Vishal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100330/707c56db/attachment.html 


More information about the NumPy-Discussion mailing list