So basically I have two arrays, and I want to check if one array is in another... I'm looking for a way to do something like this:
>>> arr1 = np.array([1, 0, 0, 1, 1, 0])
>>> arr2 = np.array([0, 0, 1, 1, 1, 0])
>>> test_array = np.array([1, 1, 1])
>>> test_array in arr1
... False
>>> test_array in arr2
... True
Is there any way to solve do something like this? Thanks.