Skip to content

Commit

Permalink
Merge branch 'pivot_bug' into pivot_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl committed Dec 17, 2023
2 parents 89432e2 + d75358a commit d0d9d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/reshape/test_pivot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2529,7 +2529,7 @@ def test_pivot_integer_bug(self, dtype):
df = DataFrame(data=[("A", "1", "A1"), ("B", "2", "B2")], dtype=dtype)

result = df.pivot(index=1, columns=0, values=2)
tm.assert_index_equal(result.columns, Index(["A", "B"], name=0))
tm.assert_index_equal(result.columns, Index(["A", "B"], name=0, dtype=dtype))

def test_pivot_index_none(self):
# GH#3962
Expand Down

0 comments on commit d0d9d66

Please sign in to comment.