[Numpy-discussion] Replacing NANs

Vishal Rana ranavishal@gmail....
Tue Mar 30 14:13:38 CDT 2010


That was quick!

Thanks Angus and Zachary

On Tue, Mar 30, 2010 at 11:59 AM, Vishal Rana <ranavishal@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.scipy.org/pipermail/numpy-discussion/attachments/20100330/e90745c2/attachment.html 


More information about the NumPy-Discussion mailing list