Skip to content

Commit cc0f504

Browse files
committed
ENH: Support MultiIndex columns in parquet pandas-dev#34777
1. Fix PEP8 issue for error message in check for MultiIndex columns
1 parent 9e8f4eb commit cc0f504

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/io/parquet.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ def validate_dataframe(df: DataFrame):
5959
x.inferred_type in {"string", "empty"} for x in df.columns.levels
6060
):
6161
raise ValueError(
62-
"parquet must have string column names for all values in each level of the MultiIndex"
62+
"""
63+
parquet must have string column names for all values in
64+
each level of the MultiIndex
65+
"""
6366
)
6467
else:
6568
if df.columns.inferred_type not in {"string", "empty"}:

0 commit comments

Comments
 (0)