On 7/13/06, Robert Kern <[EMAIL PROTECTED]> wrote:
> Webb Sprague wrote:
> > Does anyone have some vectorized code that pulls out all the row
>
> def is_row_nan(a):
>      return numpy.isnan(a).any(axis=-1)

I knew there was a way, but I didn't know to check any() and all().
Thanks to all (I love free software lists!)

W


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to