Skip to content

Commit 059e3dd

Browse files
authored
Two missing spaces in argmax, argmin docs (pandas-dev#40871)
I fixed the missing space that made the documentation render "isthe" instead of "is the". Before the change: - This **isthe** equivalent of the numpy.ndarray method argmax. - This **isthe** equivalent of the numpy.ndarray method argmin. After the change: - This **is the** equivalent of the numpy.ndarray method argmax. - This **is the** equivalent of the numpy.ndarray method argmin. - [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
1 parent 33fec60 commit 059e3dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10843,7 +10843,7 @@ def median(
1084310843
@doc(
1084410844
_num_doc,
1084510845
desc="Return the maximum of the values over the requested axis.\n\n"
10846-
"If you want the *index* of the maximum, use ``idxmax``. This is"
10846+
"If you want the *index* of the maximum, use ``idxmax``. This is "
1084710847
"the equivalent of the ``numpy.ndarray`` method ``argmax``.",
1084810848
name1=name1,
1084910849
name2=name2,
@@ -10860,7 +10860,7 @@ def max(self, axis=None, skipna=None, level=None, numeric_only=None, **kwargs):
1086010860
@doc(
1086110861
_num_doc,
1086210862
desc="Return the minimum of the values over the requested axis.\n\n"
10863-
"If you want the *index* of the minimum, use ``idxmin``. This is"
10863+
"If you want the *index* of the minimum, use ``idxmin``. This is "
1086410864
"the equivalent of the ``numpy.ndarray`` method ``argmin``.",
1086510865
name1=name1,
1086610866
name2=name2,

0 commit comments

Comments
 (0)