Skip to content

Commit ef2f6cb

Browse files
another columns fix
1 parent 3f38a8a commit ef2f6cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/io/test_parquet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,7 @@ def test_pyarrow_backed_string_array(self, pa, string_storage, using_infer_strin
945945
with pd.option_context("string_storage", string_storage):
946946
if using_infer_string:
947947
expected = df.astype("str")
948+
expected.columns = expected.columns.astype("str")
948949
else:
949950
expected = df.astype(f"string[{string_storage}]")
950951
check_round_trip(df, pa, expected=expected)

0 commit comments

Comments
 (0)