python3 print函数打印数组不全,中间是省略号没有输出全部。
加入以下两句就可以都输出了:
import numpy as np
np.set_printoptions(threshold=np.inf)
python3 print函数打印数组不全,中间是省略号没有输出全部。
加入以下两句就可以都输出了:
import numpy as np
np.set_printoptions(threshold=np.inf)
转载于:https://my.oschina.net/michaelshu/blog/3026329