I want to know if a list [a, b] is present in numpy ndarray.
I tried this :
list1 = np.array([[1, 2], [1, 3], [2, 4]])
[1, 5] in list1
The result is :
True
It seems that it only the presence of the first number is checked, leading to a false response.
What is the good way to check if the list is present or not ?