numpy array compare code example
Example 1: numpy compare arrays
bool isEqual = numpy.array_equal(Array1, Array2)
Example 2: check if numpy arrays are equal
(A==B).all()
bool isEqual = numpy.array_equal(Array1, Array2)
(A==B).all()