请参阅有关打印选项的文档。特别:
阈值:整数,可选
触发汇总而不是完整repr的数组元素总数(默认为1000)。
因此,设置threshold为np.inf意味着它永远不会被总结。
np.set_printoptions(threshold=np.inf)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2196 次 |
| 最近记录: |