[Numpy-discussion] Replacing NANs

Vishal Rana ranavishal at gmail.com
Tue Mar 30 14:59:40 EDT 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.python.org/pipermail/numpy-discussion/attachments/20100330/707c56db/attachment.html>


More information about the NumPy-Discussion mailing list