pandas retourne les indices qui correspondent
np.flatnonzero(df['foo'] == "bar")
Yucky Yak
np.flatnonzero(df['foo'] == "bar")