รหัสของปัญหาที่รายงานโดยเจ้าหน้าที่ชื่อ Dameon Frami หรือ Jolie Weber มีอะไรบ้าง
What are the id of problems reported by the staff named Dameon Frami or Jolie Weber?
df_staff = pd.DataFrame({'staff_id': ['id1', 'id2'], 'staff_first_name': ['Dameon', 'Jolie'], 'staff_last_name': ['Frami', 'Weber']})
df_problems = pd.DataFrame({'reported_by_staff_id': ['id1', 'id2']})
df_problems.loc[df_problems['reported_by_staff_id'].isin(df_staff[(df_staff['staff_first_name'] == 'Dameon') & (df_staff['staff_last_name'] == 'Frami') | (df_staff['staff_first_name'] == 'Jolie') & (df_staff['staff_last_name'] == 'Weber')]['staff_id'])]