merge dataframes based on most recent match between 2 columns code example Example: combining 2 dataframes pandas df_3 = pd.concat([df_1, df_2])