Панды Проверка соответствующей строки строка строка
# 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")
wolf-like_hunter