From 7f4f51e876bc0bbaa7dbef9bee118611dd7ee5cd Mon Sep 17 00:00:00 2001 From: Maciej Kos Date: Sat, 10 Apr 2021 20:29:51 -0400 Subject: [PATCH] Two missing spaces in argmax, argmin docs 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 --- pandas/core/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 4e7c311f39cdb..65adc258a9b69 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -10843,7 +10843,7 @@ def median( @doc( _num_doc, desc="Return the maximum of the values over the requested axis.\n\n" - "If you want the *index* of the maximum, use ``idxmax``. This is" + "If you want the *index* of the maximum, use ``idxmax``. This is " "the equivalent of the ``numpy.ndarray`` method ``argmax``.", name1=name1, name2=name2, @@ -10860,7 +10860,7 @@ def max(self, axis=None, skipna=None, level=None, numeric_only=None, **kwargs): @doc( _num_doc, desc="Return the minimum of the values over the requested axis.\n\n" - "If you want the *index* of the minimum, use ``idxmin``. This is" + "If you want the *index* of the minimum, use ``idxmin``. This is " "the equivalent of the ``numpy.ndarray`` method ``argmin``.", name1=name1, name2=name2,