Summing up more than two dataframes with the same indexes in Pandas

Viewed 4889

I want to add values of 4 Dataframes with the same indexes in Pandas. If there are two dataframes, df1 and df2, we may write:

df1.add(df2)

and for 3 dataframes:

df3.add(df2.add(df1))

I wonder if there is a more general way to do so in Python.

1 Answers
Related