numpy.ndarray.__eq__

ndarray.__eq__

x .__ eq __(y)x == y