ใครคือผู้ควบคุมฝ่ายที่เกี่ยวข้องกับผู้แทนจากเขต 1 หรือเขต 2?
Who were the comptrollers of the parties associated with the delegates from district 1 or district 2?
df_party = pd.DataFrame(columns=['Comptroller', 'Party_ID']); df_election = pd.DataFrame(columns=['Party', 'District'])
df_election[df_election['District'].isin([1, 2])].merge(df_party, left_on='Party', right_on='Party_ID')['Comptroller']