Get the indices in array `b` of each element appearing in array `a`,"np.in1d(b, a).nonzero()[0]"