I have df1 with country and sales and df2 with country and sales. Country spelling is not exactly the same in df1 and df2. How do I make country spelling in df1 match that of df2 before merging the two dataframes together.
The merge below doesn't give me all matches due to different spellings: pd.merge(df1, df2, on='country', how='left')