ค้นหาชื่อลูกค้าที่มีวงเงินกู้ตั้งแต่ 3,000 ขึ้นไป
Find the the name of the customers who have a loan with amount more than 3000.
df_customer = pd.DataFrame(columns=['cust_name', 'cust_id']); df_loan = pd.DataFrame(columns=['cust_id', 'amount'])
df_customer[df_customer['cust_id'].isin(df_loan[df_loan['amount']>3000]['cust_id'])]['cust_name']