Skip to content

pd.Index.argmax

pandasIndex.argmax(axis=None, skipna=True, *args, **kwargs)

Supported Arguments: None

Unsupported Index Types

  • IntervalIndex
  • MultiIndex

Example Usage

>>> @bodo.jit
... def f(I):
...   return I.argmax()

>>> I = pd.Index([1, 4, 9, 0, 3])
>>> f(I)
2