I want to know if a specific string is present in some columns of my dataframe (a different string for each column).
From what I understand isin() is written for dataframes but can work for Series as well, while str.contains() works better for Series.
I don't understand how I should choose between the two. (I searched for similar questions but didn't find any explanation on how to choose between the two.)