Let's say I have the array:
import numpy as np
a = np.array([[[1], [3], [5]], [[2], [8], [6]]]
How can I sum all first rows together, all second rows together and so so? So, I the result I want is something like this
[3, 11, 11] or [[3], [11], [11]]
It seems to be so simple but I can't find solution which doesn't require loops...