If I have an array, for example: a = np.array([[1,2], [2,5], [4,8]]), where the first digit represents the x value and the second one represents the y value, how can I add all of the first digits (x values) and all of the second digits (y values). The output should look something like this: 7, 15 Thanks!