pandas.to_excel列名不需要设置

df.to_excel('1.xlsx',header=None)

设置header为None即可

猜你喜欢

转载自blog.csdn.net/weixin_45631815/article/details/117214436
今日推荐