a    0
b    1
Name: idxmax, Length: 2, dtype: Int64