📜  pandas 检查匹配字符串小写 - Python 代码示例

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

代码示例1
# credit to the Stack Overflow user in the source link
# (?i) is the regex patter to tell the re module to ignore case
df["check"] = df["str_type_col"].str.contains("(?i)your_string")