pandas.Series.argmax

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

Return an ndarray of the maximum argument indexer.

Parameters
axis{None}

Dummy argument for consistency with Series.

skipnabool, default True
Returns
numpy.ndarray

Indices of the maximum values.