On Mon, Dec 5, 2011 at 5:29 PM, questions anon <questions.a...@gmail.com> wrote:
> Maybe I am asking the wrong question or could go about this another way.
> I have thousands of numpy arrays to flick through, could I just identify
> which arrays have NAN's and for now ignore the entire array. is there a
> simple way to do this?

Doing np.any(np.isnan(a)) for an array a should answer this exact question

David
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to