问题
使用numpy时默认n p.ndarray数组以科学记数法显示,很不直观。
解决
import numpy as np
#只要设置这句代码就可以了
np.set_printoptions(suppress=True)
参考
https://www.jianshu.com/p/90144d5fc985
使用numpy时默认n p.ndarray数组以科学记数法显示,很不直观。
import numpy as np
#只要设置这句代码就可以了
np.set_printoptions(suppress=True)
https://www.jianshu.com/p/90144d5fc985
相关文章: