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

Warren Focke focke@slac.stanford....
Thu Aug 23 21:51:50 CDT 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