📌  相关文章
📜  pandas 字符串不包含 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:48.582000             🧑  作者: Mango

代码示例1
# simply use the invert operator '~' with 'str.contains'
new_df = df[~df["col"].str.contains(word)]