How can I make python loop faster through DataFrame columns with 1 million rows and search for a pattern of strings? Should return True or False
pattern_example