Not encountering SettingWithCopy Warning

Screen Link: https://app.dataquest.io/m/348/guided-project%3A-clean-and-analyze-employee-exit-surveys/4/filter-the-data

My Code:

dete_resignations = dete_survey_updated[
    dete_survey_updated["separationtype"].str.contains(r"[Rr]esignation")
]

What I expected to happen:

I expect to see SettingWithCopy Warning.

What actually happened:

However, I don’t see any such warning.

Am I executing the right code?

2 Likes