modin.pandas.Index.argmax

Index.argmax(axis=None, skipna: bool = True, *args, **kwargs) int[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/index.py#L509-L510)

Return int position of the largest value in the Series.

If the maximum is achieved in multiple locations, the first row position is returned.

Parameters:
  • axis ({None}) – Unused. Parameter needed for compatibility with DataFrame.

  • skipna (bool, default True) – Exclude NA/null values when showing the result.

  • *args – Additional arguments and keywords for compatibility with NumPy.

  • **kwargs – Additional arguments and keywords for compatibility with NumPy.

Returns:

Row position of the maximum value.

Return type:

int

See also

Series.argmin

Return position of the minimum value.

Series.argmax

Return position of the maximum value.

numpy.ndarray.argmax

Equivalent method for numpy arrays.

Series.idxmax

Return index label of the maximum values.

Series.idxmin

Return index label of the minimum values.

Note

*args and **kwargs are present for compatibility with numpy and not used with Snowpark pandas.

Language: English