in Matlab I do this:
>> E = []; >> A = [1 2 3 4 5; 10 20 30 40 50]; >> E = [E ; A] E = 1 2 3 4 5 10 20 30 4
np.concatenate, np.hstack and np.vstack will do what you want. Note however that NumPy arrays are not suitable for use as dynamic arrays. Use Python lists for that purpose instead.
np.concatenate
np.hstack
np.vstack