รหัสของปัญหาที่รายงานก่อนวันที่มีปัญหาใด ๆ ที่รายงานโดย Lysanne Turcotte คืออะไร
What are the ids of the problems reported before the date of any problem reported by Lysanne Turcotte?
df_staff = pd.DataFrame({'staff_id': ['id1', 'id2'], 'staff_first_name': ['staff1', 'Lysanne'], 'staff_last_name': ['staff_ln1', 'Turcotte']})
df_problems = pd.DataFrame({'problem_id': ['p_id1', 'p_id2'], 'reported_by_staff_id': ['id1', 'id2'], 'date_problem_reported': ['2021-01-01', '2022-01-01']})
df_problems.loc[df_problems['date_problem_reported'] < df_problems.loc[df_problems['reported_by_staff_id'].isin(df_staff[df_staff['staff_first_name'] == 'Lysanne']['staff_id'])]['date_problem_reported'].min()]['problem_id']