I have a list of tuples (always pairs) like this:
[(0, 1), (2, 3), (5, 7), (2, 1)]
I\'d like to find the sum of the first items in each pai
If you don't mind converting it to a numpy array, you can use np.sum over axis=0 as given here
np.sum
axis=0