Index.min(self, axis=None, skipna=True, *args, **kwargs)
[source]
Return the minimum value of the Index.
Parameters: |
|
---|---|
Returns: |
|
See also
Index.max
Series.min
DataFrame.min
>>> idx = pd.Index([3, 2, 1]) >>> idx.min() 1
>>> idx = pd.Index(['c', 'b', 'a']) >>> idx.min() 'a'
For a MultiIndex, the minimum is determined lexicographically.
>>> idx = pd.MultiIndex.from_product([('a', 'b'), (2, 1)]) >>> idx.min() ('a', 1)
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Index.min.html