We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4131149 commit 1802ae4Copy full SHA for 1802ae4
pandas/core/base.py
@@ -801,7 +801,28 @@ def argmax(self, axis=None):
801
return nanops.nanargmax(self.values)
802
803
def min(self):
804
- """ The minimum value of the object """
+ """
805
+ Return the minimum value of the Index object.
806
+
807
+ Returns
808
+ -------
809
+ scalar or object
810
+ minimum value
811
812
+ See Also
813
+ --------
814
+ Index.max : Return the maximum value of the object.
815
816
+ Examples
817
818
+ >>> idx = pd.Index([3, 2, 1])
819
+ >>> idx.min()
820
+ 1
821
822
+ >>> idx = pd.Index(['c', 'b', 'a'])
823
824
+ 'a'
825
826
return nanops.nanmin(self.values)
827
828
def argmin(self, axis=None):
0 commit comments