I have two dataframes df and df1 and I want to merge them in such way that I get result as showcased below.
I have tried using pd.concat but it didn't work out. While using pd.merge I get error:
ValueError: You are trying to merge on object and float64 columns. If you wish to proceed you should use pd.concat
df
df2


