I have two tables: df_exclude having products that should not come together to the same customer i.e product1 and product2 at 0 index should not be given to the same customer: