For me one of the cleanest way is to append to list and then cast to numpy array myArray = [] for i in range(10): myArray.append(np.ones(8)) ...
確定! 回上一頁