@@ -1657,7 +1657,7 @@ def duplicated(self, keep='first'):
1657
1657
"""
1658
1658
return super (Series , self ).duplicated (keep = keep )
1659
1659
1660
- def idxmin (self , axis = None , skipna = True , * args , ** kwargs ):
1660
+ def idxmin (self , axis = 0 , skipna = True , * args , ** kwargs ):
1661
1661
"""
1662
1662
Return the row label of the minimum value.
1663
1663
@@ -1673,7 +1673,7 @@ def idxmin(self, axis=None, skipna=True, *args, **kwargs):
1673
1673
For compatibility with DataFrame.idxmin. Redundant for application
1674
1674
on Series.
1675
1675
*args, **kwargs
1676
- Additional keywors have no effect but might be accepted
1676
+ Additional keywords have no effect but might be accepted
1677
1677
for compatibility with NumPy.
1678
1678
1679
1679
Returns
@@ -1742,7 +1742,7 @@ def idxmax(self, axis=0, skipna=True, *args, **kwargs):
1742
1742
For compatibility with DataFrame.idxmax. Redundant for application
1743
1743
on Series.
1744
1744
*args, **kwargs
1745
- Additional keywors have no effect but might be accepted
1745
+ Additional keywords have no effect but might be accepted
1746
1746
for compatibility with NumPy.
1747
1747
1748
1748
Returns
@@ -1802,14 +1802,14 @@ def idxmax(self, axis=0, skipna=True, *args, **kwargs):
1802
1802
msg = dedent ("""\
1803
1803
'argmin' is deprecated, use 'idxmin' instead. The behavior of 'argmin'
1804
1804
will be corrected to return the positional minimum in the future.
1805
- Use 'series.values.argmin' to get the position of the minimum now .""" )
1805
+ Use 'series.values.argmin' to get the position of the minimum row .""" )
1806
1806
)
1807
1807
argmax = deprecate (
1808
1808
'argmax' , idxmax , '0.21.0' ,
1809
1809
msg = dedent ("""\
1810
1810
'argmax' is deprecated, use 'idxmax' instead. The behavior of 'argmax'
1811
1811
will be corrected to return the positional maximum in the future.
1812
- Use 'series.values.argmax' to get the position of the maximum now .""" )
1812
+ Use 'series.values.argmax' to get the position of the maximum row .""" )
1813
1813
)
1814
1814
1815
1815
def round (self , decimals = 0 , * args , ** kwargs ):
0 commit comments