how to merge two dataframes by column code example Example: combining 2 dataframes pandas df_3 = pd.concat([df_1, df_2])