For loop in pandas

How can i iterate for loops in dataframes? For example, let’s say I want to find the word ‘treasure’ in a column. Should I iterate all the indexes? What is the syntax?
Thanks

I think you can use series.str.contains() which will give you a True/ False result.
Ex:
https://thecodingbot.com/check-if-a-column-contains-specific-string-in-a-pandas-dataframe/

But, double check the documentation here:

Or, maybe try df.isin()

Ex:

https://stackoverflow.com/questions/53979403/search-for-a-value-anywhere-in-a-pandas-dataframe