ลูกค้ารายใดที่เกี่ยวข้องกับนโยบายล่าสุด
Which customer is associated with the latest policy?
df_customers = pd.DataFrame(columns = ['customer_details', 'customer_id'])
df_policies = pd.DataFrame(columns = ['customer_id', 'start_date'])
df_customers.loc[df_customers['customer_id'] == df_policies.loc[df_policies['start_date'].idxmax(), 'customer_id'], 'customer_details'].values[0]