Skip to content

Commit e5a9750

Browse files
committed
set strict to false in format.py
1 parent 8065ce1 commit e5a9750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ def _get_formatted_column_labels(self, frame: DataFrame) -> list[list[str]]:
796796
else x
797797
]
798798
for i, (x, dtype) in enumerate(
799-
zip(fmt_columns, self.frame.dtypes, strict=True)
799+
zip(fmt_columns, self.frame.dtypes, strict=False)
800800
)
801801
]
802802
return str_columns

0 commit comments

Comments
 (0)