union two table pandas code example Example 1: union df pandas pd.concat([df1, df2]) Example 2: combining 2 dataframes pandas df_3 = pd.concat([df_1, df_2])