[Numpy-discussion] Replacing NANs

Vishal Rana ranavishal at gmail.com
Tue Mar 30 15:13:38 EDT 2010


That was quick!

Thanks Angus and Zachary

On Tue, Mar 30, 2010 at 11:59 AM, Vishal Rana <ranavishal at gmail.com> wrote:

> 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/e90745c2/attachment.html>


More information about the NumPy-Discussion mailing list