pandas过滤包含特定字符串的行

~df.col3.str.contains('u|z')
也就是在条件前面加~号,表示not
posted @ 2017-10-25 14:37  xqnq2007  阅读(13049)  评论(0编辑  收藏  举报