We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9fc22d commit 2b8d556Copy full SHA for 2b8d556
doc/source/groupby.rst
@@ -133,7 +133,7 @@ but the specified columns
133
.. ipython:: python
134
135
df2 = df.set_index(['A', 'B'])
136
- grouped = df2.groupby(level=df2.index.names.difference(['B'])
+ grouped = df2.groupby(level=df2.index.names.difference(['B']))
137
138
These will split the DataFrame on its index (rows). We could also split by the
139
columns:
0 commit comments