pandas merge two dataframes by key 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'])