W3cubDocs

/pandas 0.20

pandas.Series.idxmax

Series.idxmax(axis=None, skipna=True, *args, **kwargs) [source]

Index of first occurrence of maximum of values.

Parameters:

skipna : boolean, default True

Exclude NA/null values

Returns:

idxmax : Index of maximum of values

Notes

This method is the Series version of ndarray.argmax.

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.20.2/generated/pandas.Series.idxmax.html