merge on 2 keys pandas 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'])