79469303

Date: 2025-02-26 10:11:44
Score: 1
Natty:
Report link

The code I've shared above was adapted for brevity and to not share confidential data. It turns out I opened a pd.ExcelWriter before calling the function and never closed it. Removing that line allows the code to save the workbook as expected. I still don't know why it raised no error, I would have noticed the issue much sooner.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Pollastre