rory-v of BSE - Analytics
3/20/2017 - 10:21 AM

Get all unique product categories by referenceOrderID

Get all unique product categories by referenceOrderID

df = df[['id', 'product_category']]
df_g = df.groupby('id')['product_category'].unique()