如何在不截断的情况下显示完整的numpy阵列
Consider the following example:
>>> numpy.arange(10000) 阵列([[0,1,2,...,9997,9998,9999)) >>> numpy.Arange(10000).RESHAPE(250,40) 数组([[[[0,1,2,...,37,38,39], [40,41,42,...,77,78,79],, [80,81,82,...,117,118,119],, ...,, [9880,9881,9882,...,9917,9918,9919], [9920,9921,9922,...,9957,9958,9959], [9960,9961,9962,...,9997,9998,9999]])][40 41 42 ... 77 78 79] [80 81 82 ... 117 118 119] ... [9880 9881 9882 ... 9917 9918 9919] [9920 9921 9922 ... 9957 9958 9959] [9960 9961 9962 ... 9997 9998 9999]]
免责声明: 提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发到邮箱:[email protected] 我们会第一时间内为您处理。
Copyright© 2022 湘ICP备2022001581号-3