I have the following two dataframes:
df1:
Symbol, Open, High, Low, Close
abc, 123, 676, 100, 343
df2:
Symbol, Target1, Target2
abc, 654, 565
I am trying to combine these two dataframes based on symbol, ie: Target1/Target2 must be added as new columns:
Symbol, Open, High, Low, Close, Target1, Target2
abc, 123, 676, 100, 343, 654, 565
I have tried a some join/merge ideas but can't seem to get it to work.
Please can someone advise.