Currently I'm looking for a compact and more efficient solution (rather than multiple nested for loops) to compute mean of values given an index across multiple numpy array.
Specifically given
[array([2.4, 3.5, 2.9]),
array([4.5, 1.8, 1.4])]
I need to compute the following array:
[array([3.45, 2.65, 2.15])]
Any idea? Thank you all.