diff --git a/exploration/expl_esm_labels.py b/exploration/expl_esm_labels.py index f8f3a53..5f79ce9 100644 --- a/exploration/expl_esm_labels.py +++ b/exploration/expl_esm_labels.py @@ -232,8 +232,14 @@ sns.displot( # %% df_esm_SAM_threat_challenge_summary_participant = df_esm_SAM_summary_participant[ - (df_esm_SAM_daily["questionnaire_id"] == QUESTIONNAIRE_IDS["appraisal_threat"]) - | (df_esm_SAM_daily["questionnaire_id"] == QUESTIONNAIRE_IDS["appraisal_challenge"]) + ( + df_esm_SAM_summary_participant["questionnaire_id"] + == QUESTIONNAIRE_IDS["appraisal_threat"] + ) + | ( + df_esm_SAM_summary_participant["questionnaire_id"] + == QUESTIONNAIRE_IDS["appraisal_challenge"] + ) ] df_esm_SAM_threat_challenge_summary_participant[ "event subscale"