From 42a4c5e144b4fe5728c1984bc555024f101e3725 Mon Sep 17 00:00:00 2001 From: Amotz Date: Sat, 3 Sep 2022 19:24:31 +0300 Subject: [PATCH] Added more relevant types to the documentation of the argument of functions --- pandas/core/shared_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 296e25fd5c187..210d7d79bfe15 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -94,7 +94,7 @@ Parameters ---------- -by : mapping, function, label, pd.Grouper or list of labels +by : mapping, function, label, pd.Grouper or list of such 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