modin.pandas.Index.argmax¶
- Index.argmax(axis=None, skipna: bool = True, *args, **kwargs) int[source]¶
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.argminReturn position of the minimum value.
Series.argmaxReturn position of the maximum value.
numpy.ndarray.argmaxEquivalent method for numpy arrays.
Series.idxmaxReturn index label of the maximum values.
Series.idxminReturn index label of the minimum values.
Note
*args and **kwargs are present for compatibility with numpy and not used with Snowpark pandas.