Skip to content

Commit 4cdcfb9

Browse files
committed
precommit
1 parent e07c81b commit 4cdcfb9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pandas/core/groupby/groupby.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3829,10 +3829,12 @@ def expanding(self, *args, **kwargs) -> ExpandingGroupby:
38293829
Examples
38303830
--------
38313831
>>> import pandas as pd
3832-
>>> df = pd.DataFrame({
3833-
... "Class": ["A", "A", "A", "B", "B", "B"],
3834-
... "Value": [10, 20, 30, 40, 50, 60]
3835-
... })
3832+
>>> df = pd.DataFrame(
3833+
... {
3834+
... "Class": ["A", "A", "A", "B", "B", "B"],
3835+
... "Value": [10, 20, 30, 40, 50, 60],
3836+
... }
3837+
... )
38363838
>>> df
38373839
Class Value
38383840
0 A 10

0 commit comments

Comments
 (0)