📜  pandas 将工作表附加到工作簿 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:48.483000             🧑  作者: Mango

代码示例1
writer = pd.ExcelWriter("sample.xlsx")
df1.to_excel(writer, shet_name = "sheet1")
df2.to_excel(writer, sheet_name = 'sheet2')
writer.save()