diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 09c8cf39f5839..296e25fd5c187 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -94,7 +94,7 @@ Parameters ---------- -by : mapping, function, label, or list of labels +by : mapping, function, label, pd.Grouper or list of labels Used to determine the groups for the groupby. If ``by`` is a function, it's called on each value of the object's index. If a dict or Series is passed, the Series or dict VALUES