Suppose I have a dataframe
df = pd.DataFrame({"product": ["Coke", "Coke", "Bread", "Bread", "cake", &q