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.
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
Thread count
Thread count
Parallelism is per sheet, so more threads than sheets gains nothing.
min(os.cpu_count(), len(sheets)) is the sensible ceiling.Sheet order
Sheet order
Tabs appear in list order, and Excel opens on the first.