print(array)时array中间是省略号没有输出全部的解决方法

import numpy as np
np.set_printoptions(threshold=np.inf)

  

大量元素情况

可以采用set_printoptions(threshold='nan')
set_printoptions(threshold='nan')
posted @ 2018-12-06 10:16  nxf_rabbit75  阅读(662)  评论(0编辑  收藏  举报