I am trying to merge two files but didn't get as I want
table 1 is
table 2 is
the result I want is
table 3
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