I have a 2d array that contains other arrays but the arrays are of different sizes. I want to find the mean of each individual array that is contained in that 2d array without using a loop.
I want to take the mean of array_combined in the code below.
import numpy as np
array1=np.array([1,2,3,4,5])
array2=np.array([1,2,3])
array3=np.array([1,2,3,4,5])
list_combined = [array1,array2,array3]
array_combined = np.array(list_combined)