当数组元素比较多的时候,如果输出该数组,那么会出现省略号
解决方法:在程序前写如下代码
import numpy as np np.set_printoptions(threshold=np.inf)