Skip to content

Commit

Permalink
DOC: Fix syntax error in groupby docs
Browse files Browse the repository at this point in the history
Follow-up to gh-23394.
  • Loading branch information
gfyoung committed Nov 4, 2018
1 parent b9fc22d commit 2b8d556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/groupby.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ but the specified columns
.. ipython:: python
df2 = df.set_index(['A', 'B'])
grouped = df2.groupby(level=df2.index.names.difference(['B'])
grouped = df2.groupby(level=df2.index.names.difference(['B']))
These will split the DataFrame on its index (rows). We could also split by the
columns:
Expand Down

0 comments on commit 2b8d556

Please sign in to comment.