0

I am trying to merge two files but didn't get as I want

table 1 is

enter image description here

table 2 is

enter image description here

the result I want is
table 3

enter image description here

the code I am using is

a = pd.read_csv("table1.csv")
b = pd.read_csv("table2.csv")
b = b.dropna(axis=1)
merged = a.merge(b, on='title')
merged.to_csv("output.csv", index=False)

but it did not give me the output I want, need help

0 Answers0