id และรายละเอียดของลูกค้าที่มีอย่างน้อย 3 กิจกรรมคืออะไร?
What are the id and details of the customers who have at least 3 events?
df_customers = pd.DataFrame(columns=['customer_id', 'customer_details']); df_customer_events = pd.DataFrame(columns=['customer_id'])
df_customers[df_customers['customer_id'].isin(df_customer_events['customer_id'].value_counts()[df_customer_events['customer_id'].value_counts() >= 3].index)]