ลูกค้า Blanche Huels มีบัตรเครดิตกี่ใบ?
How many credit cards does customer Blanche Huels have?
df_customers_cards = pd.DataFrame(columns=['customer_id', 'card_type_code']); df_customers = pd.DataFrame(columns=['customer_id', 'customer_first_name', 'customer_last_name'])
len(df_customers_cards[(df_customers_cards['customer_id'] == df_customers.loc[(df_customers['customer_first_name']=='Blanche') & (df_customers['customer_last_name']=='Huels'), 'customer_id'].values[0]) & (df_customers_cards['card_type_code'] == 'Credit')])