Pandas Groupby Min Get Index
df.loc[df.groupby('A').B.idxmin()]
A B C
2 1 2 10
4 2 4 4
Real Raccoon
df.loc[df.groupby('A').B.idxmin()]
A B C
2 1 2 10
4 2 4 4