modin.pandas.Series.idxmin

Series.idxmin(axis=0, skipna=True, *args, **kwargs) Hashable[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/.tox/docs/lib/python3.9/site-packages/modin/pandas/series.py#L1233-L1239)

Return the row label of the minimum value.

Parameters:
  • axis ({0 or 'index'}) – Unused. Parameter needed for compatibility with DataFrame.

  • skipna (bool, default True) – Exclude NA/null values. If an entire Series is NA, the result will be NA.

  • *args – Additional arguments and keywords have no effect but might be accepted for compatibility with NumPy.

  • **kwargs – Additional arguments and keywords have no effect but might be accepted for compatibility with NumPy.

Return type:

Index, the label of the minimum value.

Examples

>>> s = pd.Series(data=[1, None, 4, 3, 4],
...               index=['A', 'B', 'C', 'D', 'E'])
>>> s.idxmin()
'A'
Copy
Language: English