I have two different dataframes, they both share the same labels, "Country" and "Year", I am trying to merge these together as one by these two columns.
This is my code:
joined = pd.merge(left = df, right = df1, on = ["Year", "Country"])
This is the result I receive for joined.head()
0 rows × 34 columns