首页 > 技术文章 > pandas过滤包含特定字符串的行

xqnq2007 2017-10-25 14:37 原文

~df.col3.str.contains('u|z')
也就是在条件前面加~号,表示not

推荐阅读