How to check if a string contains a substring in a dataframe column How to check if a string contains a substring in a dataframe column