join dataframe based on a column stack overflow code example Example: dataframe join in python stack overflow df1.join(df2)