Skip to content

Commit 894bcd9

Browse files
authored
Update grouper.py (#54156)
* Update grouper.py * Update grouper.py
1 parent 811610d commit 894bcd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/groupby/grouper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class Grouper:
125125
126126
Examples
127127
--------
128-
Syntactic sugar for ``df.groupby('A')``
128+
``df.groupby(pd.Grouper(key="Animal"))`` is equivalent to ``df.groupby('Animal')``
129129
130130
>>> df = pd.DataFrame(
131131
... {

0 commit comments

Comments
 (0)