x = np.array([np.arange(ncols)]*nrows). 6. . 7. result = np.empty((total,nrows)). 8. for i in range(total):. 9. result[:,i] = np.sum(x[: ...
確定! 回上一頁