diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 66f6bfd7195f9..782d20ac5b724 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -153,7 +153,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DatetimeTZDtype SA01" \ -i "pandas.DatetimeTZDtype.tz SA01" \ -i "pandas.DatetimeTZDtype.unit SA01" \ - -i "pandas.Grouper PR02,SA01" \ + -i "pandas.Grouper PR02" \ -i "pandas.HDFStore.append PR01,SA01" \ -i "pandas.HDFStore.get SA01" \ -i "pandas.HDFStore.groups SA01" \ diff --git a/pandas/core/groupby/grouper.py b/pandas/core/groupby/grouper.py index 124730e1b5ca9..2d10bd5d00eb2 100644 --- a/pandas/core/groupby/grouper.py +++ b/pandas/core/groupby/grouper.py @@ -117,6 +117,11 @@ class Grouper: A TimeGrouper is returned if ``freq`` is not ``None``. Otherwise, a Grouper is returned. + See Also + -------- + Series.groupby : Apply a function groupby to a Series. + DataFrame.groupby : Apply a function groupby. + Examples -------- ``df.groupby(pd.Grouper(key="Animal"))`` is equivalent to ``df.groupby('Animal')``