I have multiple data frames that looks similar to this:
date val1 val2 val3 val4
2020-11-06 10:00:00 0.5 1.0 1.1 1.2
2020-11-06 11:00:00 1.5 1.3 0.1 1.3
2020-11-06 12:00:00 4.5 1.2 2.1 5.2
date val1 val2 val3 val4
2020-11-06 10:00:00 1.5 2.0 2.1 2.2
2020-11-06 11:00:00 2.5 2.3 1.1 2.3
2020-11-06 12:00:00 5.5 2.2 3.1 6.2
So some date, and then some values. In each data frame the dates are the same, which kind of makes the date the id. What I would like to do is just add the values from all dataframe indexed by the date. So in the above example the resulting dataframe should be:
date val1 val2 val3 val4
2020-11-06 10:00:00 2.0 3.0 3.2 3.4
2020-11-06 11:00:00 4.0 3.6 1.2 3.6
2020-11-06 12:00:00 10.0 3.4 5.2 11.4