[Numpy-discussion] comparing arrays with NaN in them.

Warren Focke focke at slac.stanford.edu
Thu Aug 23 22:51:50 EDT 2007



On Thu, 23 Aug 2007, Christopher Barker wrote:

> but that feels like a kludge. maybe some sort of "TheseArrays are binary
> equal" would be useful.

But there are multiple possible NaNs, so you couldn't rely on the bits 
comparing.

Maybe something with masked arrays?

w




More information about the NumPy-Discussion mailing list