I have an array a=np.arange(0,10,1). I am given with another array say b=[1,3,0]. I need to find all the indices corresponding to location of all elements of b in the original array a. The answer in this case should be [1,3,0] itself. How would I do this using np.where. I know for one element I could do something like np.where(a==1), but I want to know if there is an efficient way for an entire array of comparisons.