Skip to content

Commit f5c58ec

Browse files
committed
DOC: Improve what the axis= kwarg does for generic methods
- Fix #29203
1 parent 8df8c45 commit f5c58ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/generic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10914,7 +10914,7 @@ def prod(
1091410914

1091510915
@doc(
1091610916
_num_doc,
10917-
desc="Return the mean of the values for the requested axis.",
10917+
desc="Return the mean of the values over the requested axis.",
1091810918
name1=name1,
1091910919
name2=name2,
1092010920
axis_descr=axis_descr,
@@ -10963,7 +10963,7 @@ def kurt(self, axis=None, skipna=None, level=None, numeric_only=None, **kwargs):
1096310963

1096410964
@doc(
1096510965
_num_doc,
10966-
desc="Return the median of the values for the requested axis.",
10966+
desc="Return the median of the values over the requested axis.",
1096710967
name1=name1,
1096810968
name2=name2,
1096910969
axis_descr=axis_descr,
@@ -10980,7 +10980,7 @@ def median(
1098010980

1098110981
@doc(
1098210982
_num_doc,
10983-
desc="Return the maximum of the values for the requested axis.\n\n"
10983+
desc="Return the maximum of the values over the requested axis.\n\n"
1098410984
"If you want the *index* of the maximum, use ``idxmax``. This is"
1098510985
"the equivalent of the ``numpy.ndarray`` method ``argmax``.",
1098610986
name1=name1,
@@ -10997,7 +10997,7 @@ def max(self, axis=None, skipna=None, level=None, numeric_only=None, **kwargs):
1099710997

1099810998
@doc(
1099910999
_num_doc,
11000-
desc="Return the minimum of the values for the requested axis.\n\n"
11000+
desc="Return the minimum of the values over the requested axis.\n\n"
1100111001
"If you want the *index* of the minimum, use ``idxmin``. This is"
1100211002
"the equivalent of the ``numpy.ndarray`` method ``argmin``.",
1100311003
name1=name1,

0 commit comments

Comments
 (0)