pandas to_excel、to_csv的float_format参数设置

df.to_excel(outpath,float_format='%.2f')

  

posted on 2018-12-06 12:39  hailuo  阅读(8773)  评论(0编辑  收藏  举报