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,