pd.set_option('display.float_format',lambda x: '%.2f'%x)
pd.set_option('display.expand_frame_repr',False)
#显示所有列
pd.set_option('display.max_columns', None)
#显示所有行
#pd.set_option('display.max_rows', None)
pd.set_eng_float_format(accuracy=1, use_eng_prefix=True)--一位小数,结尾用k、M表示

pd.set_option参数设置

pd.set_option参数设置

 

相关文章:

  • 2021-04-26
  • 2022-02-10
  • 2021-06-23
  • 2021-10-07
  • 2021-07-06
  • 2021-11-04
  • 2022-02-05
猜你喜欢
  • 2022-12-23
  • 2022-01-16
  • 2021-06-08
  • 2021-12-03
  • 2021-06-13
  • 2021-09-15
相关资源
相似解决方案