I\'m trying to turn a list of 2d numpy arrays into a 2d numpy array. For example,
dat_list = [] for i in range(10): dat_list.append(np.zeros([5, 10]))
Above accepted answer is correct for 2D arrays as you requested. For 3D input arrays though, vstack() will give you a surprising outcome. For those, use stack(, 0).