Table Of Contents

Search

Enter search terms or a module, class or function name.

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.

Scroll To Top