You can use np.in1d(array1, array2) to search in array1 each value of array2 . In your case, you just need to take the first column of the first array:
mask = np.in1d(a[:, 0], b) #array([False, False, False, False, False, False, False, False, True, True], dtype=bool)
You can use this mask to get the values โโfound:
a[:, 0][mask] #array([ 17.64705882, 21.17647059])
source share