arkouda
arkouda copied to clipboard
binops to handle np.nan correctly
This is what I am seeing"
python
Out[4]: array([False True True True True])
In [5]: x = ak.array([np.nan, 1.0])
In [6]: x == x
Out[6]: array([False True])
In [7]: x < x
Out[7]: array([False False])
In [8]: x <= x
Out[8]: array([False True])
Is this really a bug? numpy gives the same results:
x = np.array([np.nan,1.09]) x==x array([False, True]) x<x array([False, False]) x<=x array([False, True])
I can't recreate this problem so I will assume @drculhane is correct and close this issue.