pd.to_csv('your.csv', index=False) https://blog.youkuaiyun.com/weixin_34268610/article/details/94233761