numpycompare 2 element code example Example: np.array_equal # np.array_equal checks whether two arrays have the same # shape and all elements values