reshape (-1,2)转化成两列. numpy中reshape函数的三种常见相关用法. numpy.arange(n).reshape(a, b) 依次生成n个自然数,并且以a行b列的数组形式显示.
確定! 回上一頁