AttributeError: can't set attribute
I'm trying to keep the original formating from the excel file, and this code worked before the latest release, but now I get the AttributeError: can't set attribute. Anyone know how to fix it?
workbook = load_workbook(filename="path/filename.xlsx")
writer = pd.ExcelWriter('path/filename.xlsx', engine='openpyxl', mode='a', if_sheet_exists='overlay')
writer.book = workbook
writer.sheets = dict((ws.title, ws) for ws in workbook.worksheets)
ws = workbook['sheet']
Edited by Night Fury