I have an array of matrices all of different sizes/dimensions and I need to pad them all to the same size (805, 16866). Bellow is the code I'm currently using to do this but I believe it could be vectorised, however I am not sure how to do this.
x1 = np.zeros((805, 16866))
for i in range(x[0].shape[0]):
for j in range(x[0].shape[1]):
x1[i, j] = x[0][i, j]
np.pad.