Skip to content

Commit

Permalink
Merge pull request #675 from michaelhofrichter/michaelhofrichter-patc…
Browse files Browse the repository at this point in the history
…h-1-table

Update util.py for Pandas 2.0.3
  • Loading branch information
jhpyle authored Aug 8, 2023
2 parents 8ec86b4 + 3fd32a2 commit f734374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docassemble_base/docassemble/base/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -5607,7 +5607,7 @@ def export(self, filename=None, file_format=None, title=None, freeze_panes=True,
freeze_panes = None
writer = pandas.ExcelWriter(output_to.path(), # pylint: disable=abstract-class-instantiated
engine='xlsxwriter',
options={'remove_timezone': True})
engine_kwargs={'remove_timezone': True})
df.to_excel(writer, sheet_name=title, index=False, freeze_panes=freeze_panes)
writer.save()
elif file_format == 'csv':
Expand Down

0 comments on commit f734374

Please sign in to comment.