merge vs join vs concat pandas code example Example: python dataframe left join >>> left.merge(right, on='user_id', how='left')