numpy输出控制

np.set_printoptions(precision=2,suppress=True)

 

保留两位小数,不用科学计数法表示

posted @ 2020-04-06 20:53  WeiAR  阅读(247)  评论(0编辑  收藏  举报