modin.pandas.Index.min

Index.min(axis: int | None = None, skipna: bool = True, *args: Any, **kwargs: Any) Scalar[source]

Return the minimum value of the Index.

Parameters:
  • axis ({None}) – Dummy argument for consistency with Series.

  • 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:

Minimum value.

Return type:

scalar

See also

Index.max

Return the maximum value of the object.

Series.min

Return the minimum value in a Series.

DataFrame.min

Return the minimum values in a DataFrame.

Examples

>>> idx = pd.Index([3, 2, 1])
>>> idx.min()
1
Copy
>>> idx = pd.Index(['c', 'b', 'a'])
>>> idx.min()
'a'
Copy