isnan

Kenny zhaowenliangpolyu at gmail.com
Mon Oct 11 23:58:52 EDT 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