Skip to content

Commit f17bd8e

Browse files
committed
Fix stubname equal suffix in wide to long function
1 parent e645468 commit f17bd8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/reshape/test_melt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ def test_missing_stubname(self, dtype):
12211221
@pytest.mark.parametrize("stubnames", ["year", ["year"]])
12221222
def test_stubname_equal_suffix(self, stubnames):
12231223
# https://github.com/pandas-dev/pandas/issues/46939
1224-
df = pd.DataFrame(
1224+
df = DataFrame(
12251225
{
12261226
"year1": {0: 4.5, 1: 1.7},
12271227
"year2": {0: 2.5, 1: 1.2},

0 commit comments

Comments
 (0)