You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
np.dtype equality checking versus string-likes should return a boolean rather than raising
in dtype comparisons. This is currently inconsistent when presented with a valid dtype parse of the string, but will raise if its not valid.
e.g
In [12]: np.dtype('i8') == 'int64'
Out[12]: True
In [14]: np.dtype('i8') == 'int32'
Out[14]: False
In [13]: np.dtype('i8') == 'foo'
TypeError: data type "foo" not understood