I want to be able to convert an existing 2D array to a 1D array of arrays. The only way I can find is to use something like:
my_2d_array = np.random.random((
Simply you could call ravel() to convert any dimension arrays to 1d.
ravel()
1d
my_converted_array = np.ravel(my_2d_array)
Learn more about ravel() here.
Or you could simply use:
my_converted_array = my_2d_array.reshape(-1)