I have a dataframe, df. One of the column is Text. I want to search the dataframe where the text contains ABC
.
Hence, I write the code:
df["Text"].str.contains("ABC")
Now, I want to search which text contains ABC
or XYZ
.
What will be the syntax?