Skip to content

Commit 2b8d556

Browse files
committed
DOC: Fix syntax error in groupby docs
Follow-up to pandas-devgh-23394.
1 parent b9fc22d commit 2b8d556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/groupby.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ but the specified columns
133133
.. ipython:: python
134134
135135
df2 = df.set_index(['A', 'B'])
136-
grouped = df2.groupby(level=df2.index.names.difference(['B'])
136+
grouped = df2.groupby(level=df2.index.names.difference(['B']))
137137
138138
These will split the DataFrame on its index (rows). We could also split by the
139139
columns:

0 commit comments

Comments
 (0)