get index of elements in array `a` that occur in another array `b`,"np.where(np.in1d(A, B))[0]"