📌  相关文章
📜  在 Excel 工作表 pandas 的末尾附加数据 - Python 代码示例

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

代码示例1
### first get max row number ###
max_row = df.shape[0]
### the append to (max_row + 1) without header ###
df.to_excel("file.xlsx",sheet_name="sheetname",startrow=max_row+1,header=False,index=False)
### if you have index column in your excel file ###
     ### then you can just set index=True  ###