I want whether two numpy arrays with complex numbers containing NaN
are exactly equal.
Specifically, I want to verify that for NaN
, not only is there a NaN
in both arrays but also that the real and imaginary part of the NaN
match in value.
Does anybody know whether assert_array_equal
does this or do I have to check this myself?