Series.idxmax()
pandas.Series.idxmax
-
Series.idxmax(axis=None, skipna=True, *args, **kwargs)
-
Index of first occurrence of maximum of values.
Parameters: skipna : boolean, default True
Exclude NA/null values
Returns: idxmax : Index of maximum of values