La chaîne Pandas ne contient pas
# simply use the invert operator '~' with 'str.contains'
new_df = df[~df["col"].str.contains(word)]
Worrisome Wallaby
# simply use the invert operator '~' with 'str.contains'
new_df = df[~df["col"].str.contains(word)]