Error com_error: (-2147221005, 'Invalid class string', None, None) while writing dataframe into excel binary notebook

纵然是瞬间 提交于 2021-02-10 14:42:11

问题


I am trying to write a data frame into excel sheet(xlsb), which is having formulas, using xlwing library:

app = xw.App()

book = xw.Book('ABC.xlsb')

sheet = book.sheets('SL Dump')

sheet.range('A1').values=final_merge_dataframe

After running the above code, I am getting this error:

com_error: (-2147221005, 'Invalid class string', None, None)

来源:https://stackoverflow.com/questions/57060655/error-com-error-2147221005-invalid-class-string-none-none-while-writing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!