Periksa apakah array yang tidak bagus sama
(A==B).all()
Busy Boar
(A==B).all()
import numpy as np
np.array_equal(arr1, arr2)
numpy.array_equal(array1, array2)
True if two arrays have the same shape and elements, False otherwise.