concatenate 2 pandas dataframes side by side code example Example: python combine side by side dataframes pd.concat([df1, df2], axis=1)