import numpy as np import copy pairs = [(2, 3), (3, 4), (4, 5)] array_of_arrays = np.array([np.arange(a*b).reshape(a,b) for (a, b) in pairs]) a = copy.deepcopy(array_of_arrays)