I am trying to create a matrix inside a for loop (one column at a time).
Which is the faster way to do it? creating a np.empty() array and using np.hstack() to append the columns, or creating a np.zeros() array of the desired shape and changing the columns of the array.
TIA