1st dataframe: Output
A B C
M 2 H
2nd Dataframe: Campaign details
P Q R
2 3 O
A, B, C in one dataframe is same as the column in the 2nd dataframe, but with different name, I want to add another row to the 2nd dataframe
**Output
P Q R
2 3 O
M 2 H
Please assume A = P, B = Q and C = R
I am trying this but not working
output["A"] = Campaign_Details["P"].apply(lambda x: Campaign_Details.get(x)).append
With this , all the rows in P column are replaced by:
<bound method Series.append of Unnamed: 1 N...
Is there any other way to do this???