pandas dataframe search sting in the entire row
问题 I have a pandas dataframe like below. I want to search a text in each row of the dataframe and highlight if that text appears in the row. For example, I want to search each row for "jones". I want to ignore the case of my search word. In the below case, I would like to add a new column to data called "jones" and it would have values 1,1,0 as that word was found in 1st and 2nd row I found this post which shows how to find a text in a column, but how could I find a text when I have many columns