TypeError: to_excel() got an unexpected keyword argument ‘sheetname’
pandas写excel报错,将参数sheetname=‘xxx’ 名字写错了 应该写成
sheet_name=‘xxx’
csv_data_source.to_excel(“D:\confusion_analysis.xls”,sheet_name=label_names[k])
TypeError: to_excel() got an unexpected keyword argument ‘sheetname’
pandas写excel报错,将参数sheetname=‘xxx’ 名字写错了 应该写成
sheet_name=‘xxx’
csv_data_source.to_excel(“D:\confusion_analysis.xls”,sheet_name=label_names[k])