ลูกค้าชื่อ "ดายาน่า โรเบล" มีกรมธรรม์ประเภทใดบ้าง?
What are all the policy types of the customer named "Dayana Robel"?
df_customers = pd.DataFrame(columns=['customer_id', 'customer_name']); df_available_policies = pd.DataFrame(columns=['policy_type_code', 'policy_id']); df_customers_policies = pd.DataFrame(columns=['customer_id', 'policy_id'])
df_available_policies.set_index('policy_id').loc[df_customers_policies.set_index('customer_id').loc[df_customers[df_customers['customer_name']=='Dayana Robel']['customer_id'], 'policy_id'], 'policy_type_code'].unique().tolist()