Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/io/excel/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def pop_header_name(
header_name = row[i]
header_name = None if header_name == "" else header_name

return header_name, row[:i] + [""] + row[i + 1 :]
return header_name, [*row[:i], "", *row[i + 1 :]]


def combine_kwargs(engine_kwargs: dict[str, Any] | None, kwargs: dict) -> dict:
Expand Down