python create array numpy compare value 2 array code example Example: numpy compare arrays bool isEqual = numpy.array_equal(Array1, Array2)