python pandas merge dataframes with different key value pairs code example
Example: how to merge dataframe with different keys
pandas.merge(df1, df2, how='left', left_on=['id_key'], right_on=['fk_key'])
pandas.merge(df1, df2, how='left', left_on=['id_key'], right_on=['fk_key'])