Вот наивное решение, которое будет работать:
import numpy as np # you have to have numpy installed
some_array = np.random.randn(373,)
rows = 10
cols = 373
# this is your new array of desired shape:
new_array = np.empty([rows, cols])
# fill it up:
for i_th_row in range(rows):
new_array[i_th_row,:] = some_array
Итак,
>>> new_array.shape
(10, 373)
Как установить numpy можно найти здесь .