pd.merge inner pandas 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,left_on='Product_name',right_on='Purchased_Product')
new_df = df_1.merge(df_2, on='id', how='left', indicator=True)
pd.merge(product,customer,left_on='Product_name',right_on='Purchased_Product')