Using pandas to parse some cvf files. I am trying to use the str.contains() method to single out the rows that include cells that have a string in them but when I run my code I get the result "True" or "False, which looking at the documentation is the expected output. How would I move forward from this and have my code print out or show the full rows with the rest of the columns and the values?
df = pd.read_csv(file)
df = df["Backend"].str.contains('sonic',
regex=False)```