When searching for strings in a dataframe via lambda function, how do I resolve the IndexError if no results are found in any column or row?
This question is piggy-backing off of a previous question that I asked regarding searching though a dataframe and printing out rows that contained a certain string, but not duplicating the output if the string value was found in more than one column.