I have following numpy array
X = np.random.random_integers(100000000,size=(100000000,2))
now I want to dd both the columns of the array to generate the third column of the array. I am trying X[3] = X[0]+X[1] but its shape is (2,).
Example final array :
10 5 15
15 6 21