Skip to content

Commit a08b2f4

Browse files
committed
fixing example to match input cols A, B
1 parent 66a071b commit a08b2f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/groupby/groupby.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,7 @@ def pipe(
807807
pass, you can do
808808
809809
>>> df.groupby("A").pipe(lambda x: x.max() - x.min())
810+
A B
810811
a 2
811812
b 2
812813
"""

0 commit comments

Comments
 (0)