Skip to content

Commit 7406222

Browse files
author
Joshua Bradt
committed
Fixed formatting. Added comment with issue number to test.
1 parent d4c5da3 commit 7406222

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v0.20.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -517,4 +517,4 @@ Bug Fixes
517517

518518
- Bug in ``DataFrame.boxplot`` where ``fontsize`` was not applied to the tick labels on both axes (:issue:`15108`)
519519
- Bug in ``Series.replace`` and ``DataFrame.replace`` which failed on empty replacement dicts (:issue:`15289`)
520-
- Bug in ``pd.melt`` where passing a tuple value for ``value_vars`` caused a TypeError (:issue:`15348`)
520+
- Bug in ``pd.melt`` where passing a tuple value for ``value_vars`` caused a ``TypeError`` (:issue:`15348`)

pandas/tests/test_reshape.py

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def test_value_vars(self):
5757
tm.assert_frame_equal(result4, expected4)
5858

5959
def test_value_vars_types(self):
60+
# GH 15348
6061
expected = DataFrame({'id1': self.df['id1'].tolist() * 2,
6162
'id2': self.df['id2'].tolist() * 2,
6263
'variable': ['A'] * 10 + ['B'] * 10,

0 commit comments

Comments
 (0)