pandas.Series.idxmax

Series.idxmax(selfaxis=0skipna=True*args**kwargs)[source]

Return the row label of the maximum value.

If multiple values equal the maximum, the first row label with that value is returned.

Guess you like

Origin www.cnblogs.com/zjuhaohaoxuexi/p/11949256.html