I want to perform a join/merge/append operation on a dataframe with datetime index.
Let's say I have df1
and I want to add df2
to it. df2
can have fewer or more columns, and overlapping indexes. For all rows where the indexes match, if df2
has the same column as df1
, I want the values of df1
be overwritten with those from df2
.
How can I obtain the desired result?