Skip to content

Commit fdcfbbb

Browse files
committed
Added versionadded tag in docs and renamed test_inplace to test_inplace_add for consistency
1 parent 2fad2f7 commit fdcfbbb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/source/groupby.rst

+2
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ 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+
129131
If we also have a MultiIndex on columns ``A`` and ``B``, we can group by all
130132
but the specified columns
131133

pandas/tests/indexes/test_frozen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_sub_dupe(self):
3333
expected = FrozenList([1, 3])
3434
self.check_result(result, expected)
3535

36-
def test_inplace(self):
36+
def test_inplace_add(self):
3737
q = r = self.container
3838
q += [5]
3939
self.check_result(q, self.lst + [5])

0 commit comments

Comments
 (0)