From 420a33606799baf7e10eee0308dc87ea73062c6a Mon Sep 17 00:00:00 2001 From: Jordan Murphy <35613487+jordan-d-murphy@users.noreply.github.com> Date: Wed, 31 Jan 2024 21:11:18 -0700 Subject: [PATCH] removed notes section that was not applicable --- pandas/core/groupby/generic.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 034b9f1096f90..d37acd8312483 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -1074,12 +1074,6 @@ def idxmin(self, skipna: bool = True) -> Series: Series.idxmax : Return index *label* of the first occurrence of maximum of values. - Notes - ----- - This method is the Series version of ``ndarray.argmin``. This method - returns the label of the minimum, while ``ndarray.argmin`` returns - the position. To get the position, use ``series.values.argmin()``. - Examples -------- >>> ser = pd.Series([1, 2, 3, 4], index=pd.DatetimeIndex( @@ -1130,12 +1124,6 @@ def idxmax(self, skipna: bool = True) -> Series: Series.idxmin : Return index *label* of the first occurrence of minimum of values. - Notes - ----- - This method is the Series version of ``ndarray.argmax``. This method - returns the label of the maximum, while ``ndarray.argmax`` returns - the position. To get the position, use ``series.values.argmax()``. - Examples -------- >>> ser = pd.Series([1, 2, 3, 4], index=pd.DatetimeIndex(