Closed fzumstein closed 2 years ago
Since pandas 1.3.0 (Anaconda 2021-11), the way to go is to write
with pd.ExcelWriter(this_dir / "sales_report_openpyxl.xlsx",
engine="openpyxl", engine_kwargs={"write_only": True}) as writer:
instead of
with pd.ExcelWriter(this_dir / "sales_report_openpyxl.xlsx",
engine="openpyxl", write_only=True) as writer:
here: https://github.com/fzumstein/python-for-excel/blob/1st-edition/sales_report_openpyxl.py#L48-L49