pd.merge find difference between inner and left join code example
Example 1: python: left join
new_df = df_1.merge(df_2, on='id', how='left', indicator=True)
Example 2: joins in pandas
pd.merge(product,customer,how='inner',left_on=['Product_ID','Seller_City'],right_on=['Product_ID','City'])