问题
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