numpy: find index of elements in one array that occur in another array,"np.searchsorted(A, np.intersect1d(A, B))"