I have 2 data frames
df1
Name 2010 2011
0 Jack 25 35
1 Jill 15 20
df2
Name 2010 2011
0 Berry 45 25
1 Jack 5 10
I want to create the third data frame by adding the values in these data frames
Desired Output
df3
Name 2010 2011
0 Jack 30 45 #add the values from df1 and df2
1 Jill 15 20
2 Berry 45 25
I have used the code
df1.add(df2)