相关疑难解决方法(0)

熊猫:无法写入excel文件

文档中尝试此示例

writer = ExcelWriter('output.xlsx')
df1.to_excel(writer,'Sheet1')
df2.to_excel(writer,'Sheet2')
writer.save()
Run Code Online (Sandbox Code Playgroud)

我发现我无法写入带有错误的excel文件

TypeError: copy() got an unexpected keyword argument 'font'
Run Code Online (Sandbox Code Playgroud)

我在Mac专业版上使用Panda 0.16.

编辑:写入xls文件工作得很好.我不坚持使用xlsx文件,只是想知道为什么它不起作用.

python pandas

12
推荐指数
3
解决办法
9687
查看次数

标签 统计

pandas ×1

python ×1