ค้นหานามสกุลของบุคคลที่ติดต่อล่าสุดขององค์กร "พรรคแรงงาน"
Find the last name of the latest contact individual of the organization "Labour Party".
df_organizations = pd.DataFrame(columns=['organization_id', 'organization_name']); df_individuals = pd.DataFrame(columns=['individual_last_name', 'individual_id']); df_organization_contact_individuals = pd.DataFrame(columns=['organization_id', 'individual_id', 'date_contact_to'])
org_id = df_organizations[df_organizations['organization_name'] == 'Labour Party']['organization_id'].iloc[0]; contact_id = df_organization_contact_individuals[df_organization_contact_individuals['organization_id'] == org_id].sort_values('date_contact_to', ascending=False)['individual_id'].iloc[0]; df_individuals[df_individuals['individual_id'] == contact_id]['individual_last_name'].iloc[0]