I\'ve got a problem on creating a numpy array of numpy arrays. I would create it in a loop:
a=np.array([]) while(...): ... b= //a numpy array generated
we can try it also :
arr1 = np.arange(4) arr2 = np.arange(5,7) arr3 = np.arange(7,12) array_of_arrays = np.array([arr1, arr2, arr3]) array_of_arrays np.concatenate(array_of_arrays)