isnan

Kenny zhaowenliangpolyu at gmail.com
Tue Oct 12 05:58:52 CEST 2010


Hi All,

I have an array A, and another one B with same dimention and size. Now I
want to change the delete the elements in A where the same position in B is
nan. How can I do.

Similar to the matlab code A(find(isnan(B)) = []

Thank you.

-- 
Best regards,

Kenny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101011/2105870a/attachment.html>


More information about the Python-list mailing list