🌈 搜索
📅  最后修改于: 2022-03-11 14:45:50.657000             🧑  作者: Mango
# find rows in `df1` which contain "foo" followed by something df1[df1['col'].str.contains(r'foo(?!$)')] col 1 foobar