I have two data frames, one with three columns and another with two columns. Two columns are common in both data frames:
I have to update the Marks column of df1
from df2
where the data is missing only and keep the existing value as same in the df1
.
I have tried pd.merge
but the result created a separate column which was not intended.