This is probably easy, but I have the following data:
In data frame 1:
index dat1 0 9 1 5
In data frame 2:
Just a matter of the right google search:
data = dat_1.append(dat_2) data = data.groupby(data.index).sum()