How can I get the indices of intersection points between two numpy arrays? I can get intersecting values with intersect1d:
intersect1d
import numpy as np a
indices = np.argwhere(np.in1d(a,b))