Rodrick Heaney ซื้อผลิตภัณฑ์ทั้งหมดกี่ประเภท
How many types of products have Rodrick Heaney bought in total?
df_customers = pd.DataFrame(columns=['customer_id', 'customer_name']); df_order_items = pd.DataFrame(columns=['product_id', 'order_id']); df_customer_orders = pd.DataFrame(columns=['customer_id', 'order_id'])
df_order_items[df_order_items['order_id'].isin(df_customer_orders[df_customer_orders['customer_id'].isin(df_customers[df_customers['customer_name']=='Rodrick Heaney']['customer_id'])]['order_id'])]['product_id'].nunique()