pandas.Series.argmax — pandas 0.18.1 documentation (original) (raw)

Series.argmax(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

See also

DataFrame.idxmax, numpy.ndarray.argmax

Notes

This method is the Series version of ndarray.argmax.