python print只能显示首尾30个数据,其他是省略号,请问如何解决

如题所述

import bumpy as np  
np.set_printoptions(threshold = 1e6)#设置打印数量的阈值
温馨提示:答案为网友推荐,仅供参考
相似回答