Assume
Main_Array = np.array([[1,2], [3,4], [4,5], [5,6]])
Further assume
Object_Array = np.array([[1,2]])
I desire a function s.t.
f(Object_Array, Main_Array) = 0
I.e. the indice of the Objective_Array if i know that it is in the Main_Array. I can't seem to use np.where() as it is not vectorized. It does not look for arrays and when i try this in there i get weird results.
Thanks a lot!