compare np array code example Example: numpy compare arrays bool isEqual = numpy.array_equal(Array1, Array2)