Added versionadded tag in docs and renamed test_inplace to test_inpla… · mcocdawc/pandas@fdcfbbb (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -126,6 +126,8 @@ We could naturally group by either the ``A`` or ``B`` columns or both:
126 126 grouped = df.groupby('A')
127 127 grouped = df.groupby(['A', 'B'])
128 128
129 +.. versionadded:: 0.20
130 +
129 131 If we also have a MultiIndex on columns ``A`` and ``B``, we can group by all
130 132 but the specified columns
131 133
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ def test_sub_dupe(self):
33 33 expected = FrozenList([1, 3])
34 34 self.check_result(result, expected)
35 35
36 -def test_inplace(self):
36 +def test_inplace_add(self):
37 37 q = r = self.container
38 38 q += [5]
39 39 self.check_result(q, self.lst + [5])