ลูกค้าที่ชื่อ Rylan และนามสกุล Goodwin เรียนจบไปกี่บทเรียนแล้ว
How many lessons taken by customer with first name as Rylan and last name as Goodwin were completed?
df_lessons = pd.DataFrame(columns=['customer_id', 'lesson_status_code'])
df_customers = pd.DataFrame(columns=['customer_id', 'first_name', 'last_name'])
df_lessons[(df_lessons['customer_id'].isin(df_customers[(df_customers['first_name'] == 'Rylan') & (df_customers['last_name'] == 'Goodwin')]['customer_id'])) & (df_lessons['lesson_status_code'] == 'Completed')].shape[0]