you can change this to something like `if not issubclass(left.dtype.type, (np.object_, np.floating)): return np.array_equal(left, right)`, right? Given that only object and floating can hold nan?