Skip to content

Commit

Permalink
chunk the writing of values in xlwings reports to prevent timeout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fzumstein committed Jan 23, 2024
1 parent 4444492 commit d1cb839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xlwings/pro/reports/main.py
Expand Up @@ -302,7 +302,7 @@ def render_sheet(sheet, **data):
df_formatter = filters.df_formatter(filter_list)
if df_formatter:
options["formatter"] = df_formatter
cell.options(**options).value = result
cell.options(chunksize=10000, **options).value = result
# DataFrame formatting filters
for filter_item in filter_list:
for filter_name, filter_args in filter_item.items():
Expand Down

0 comments on commit d1cb839

Please sign in to comment.