join two dataframe on a column IN PYTHON code example Example: merge two dataframes based on column df_merge_col = pd.merge(df_row, df3, on='id') df_merge_col