Skip to main content

Parameters

list[dict]
required
One dictionary per sheet. Requires data and name, and every other key is a write_sheet_arrow option.
str
required
Output path.
int
required
Threads for XML generation. Required and positional, with no default. Omitting it raises a TypeError.

The sheet dictionary

Arrow table
required
Sheet contents.
str
required
Tab label.
Then any option from write_sheet_arrow as a key: styled_headers, freeze_rows, column_formats, tables, charts, images, conditional_formats, data_validations, tab_color, and the rest.

Returns

None.

Notes

Parallelism is per sheet, so more threads than sheets gains nothing. min(os.cpu_count(), len(sheets)) is the sensible ceiling.
Jetxl deduplicates styles across sheets, so repeating identical formatting is cheap.
Tabs appear in list order, and Excel opens on the first.