📅  最后修改于: 2022-03-11 14:45:48.483000             🧑  作者: Mango
writer = pd.ExcelWriter("sample.xlsx")
df1.to_excel(writer, shet_name = "sheet1")
df2.to_excel(writer, sheet_name = 'sheet2')
writer.save()