Using standard Python arrays, I can do the following:
arr = [] arr.append([1,2,3]) arr.append([4,5,6]) # arr is now [[1,2,3],[4,5,6]]
Howev
I want to do a for loop, yet with askewchan's method it does not work well, so I have modified it.
x = np.empty((0,3)) y = np.array([1,2,3]) for i in ... x = np.vstack((x,y))