numpy输出控制

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

 

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

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