Merging key names are same
pd.merge(df1, df2, on='key')
Merging key names are different
pd.merge(df1, df2, left_on='l_key', right_on='r_key')
Different types of joining
pd.merge(df1, df2, on='key', how='left')
Merging on multiple keys
pd.merge(df1, df2, on=['key1', 'key2'])
Treatment...