You are viewing documentation about an older version (1.22.1). View latest version

modin.pandas.Series.idxmin¶

Series.idxmin(axis=0, skipna=True, *args, **kwargs)[source]¶

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