pandas join onindex code example
Example 1: joins in pandas
pd.merge(product,customer,left_on='Product_name',right_on='Purchased_Product')
Example 2: join tables pandas
In [88]: result = left.join(right, how='inner')
pd.merge(product,customer,left_on='Product_name',right_on='Purchased_Product')
In [88]: result = left.join(right, how='inner')