compare np arrays python code example
Example 1: numpy compare arrays
bool isEqual = numpy.array_equal(Array1, Array2)
Example 2: np.array_equal
# np.array_equal checks whether two arrays have the same
# shape and all elements values
bool isEqual = numpy.array_equal(Array1, Array2)
# np.array_equal checks whether two arrays have the same
# shape and all elements values