pandas retourne les indices qui correspondent

np.flatnonzero(df['foo'] == "bar")
Yucky Yak