在添加行的情况下,最好的办法是创建一个与数据集最终一样大的数组,然后逐行添加数据: >>> import numpy >>> a = numpy.zeros(shape=(5,2)) >>> a array ...
確定! 回上一頁