Skip to content

Commit 747f35d

Browse files
committed
fix examples formatting
1 parent ec45a65 commit 747f35d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/core/groupby/groupby.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ def pipe(
797797
--------
798798
>>> df = pd.DataFrame({"A": "a b a b".split(), "B": [1, 2, 3, 4]})
799799
>>> df
800-
A B
800+
A B
801801
0 a 1
802802
1 b 2
803803
2 a 3
@@ -807,8 +807,7 @@ def pipe(
807807
pass, you can do
808808
809809
>>> df.groupby("A").pipe(lambda x: x.max() - x.min())
810-
B
811-
A
810+
A
812811
a 2
813812
b 2
814813
"""

0 commit comments

Comments
 (0)