Skip to content

Commit 2be1fb1

Browse files
committed
fix rebase
1 parent 915e8a0 commit 2be1fb1

File tree

11 files changed

+22
-14463
lines changed

11 files changed

+22
-14463
lines changed

doc/source/groupby.rst

-10
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,6 @@ We could naturally group by either the ``A`` or ``B`` columns or both:
126126
grouped = df.groupby('A')
127127
grouped = df.groupby(['A', 'B'])
128128
129-
.. versionadded:: 0.20
130-
131-
If we also have a MultiIndex on columns ``A`` and ``B``, we can group by all
132-
but the specified columns.
133-
134-
.. ipython:: python
135-
136-
df2 = df.set_index(['A', 'B'])
137-
grouped = df2.groupby(level=df2.index.names.difference(['B'])
138-
139129
These will split the DataFrame on its index (rows). We could also split by the
140130
columns:
141131

0 commit comments

Comments
 (0)