pandas 1.4.2

ParametersReturnsBackRef
min(self, axis=None, skipna=True, *args, **kwargs)

Parameters

axis : {None}

Dummy argument for consistency with Series.

skipna : bool, default True

Exclude NA/null values when showing the result.

*args, **kwargs :

Additional arguments and keywords for compatibility with NumPy.

Returns

scalar

Minimum value.

Return the minimum value of the Index.

See Also

DataFrame.min

Return the minimum values in a DataFrame.

Index.max

Return the maximum value of the object.

Series.min

Return the minimum value in a Series.

Examples

This example is valid syntax, but we were not able to check execution
>>> idx = pd.Index([3, 2, 1])
... idx.min() 1
This example is valid syntax, but we were not able to check execution
>>> idx = pd.Index(['c', 'b', 'a'])
... idx.min() 'a'

For a MultiIndex, the minimum is determined lexicographically.

This example is valid syntax, but we were not able to check execution
>>> idx = pd.MultiIndex.from_product([('a', 'b'), (2, 1)])
... idx.min() ('a', 1)
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

pandas.core.indexes.base.Index.max

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /pandas/core/indexes/base.py#6870
type: <class 'function'>
Commit: