Jeopardy Project

Hi all,

I’m running through the Jeopardy project in Python ( I’m come a bit undone on the third step of this, where it wants me to create a question filter that checks the contents of a list against the contents of the question column in the example data frame. It then asks to:

“Test your function by printing out the column containing the question of each row of the dataset.”

I don’t really understand this instruction. What exactly is it wanting me to print out? The indices of each row where the question contains the words in the list? Or just the question itself?

Either way, I’m not at all sure how to go about this. The hint talks about using a lambda function and the all function but I can’t figure out a way of getting this to work.

Any help would be appreciated!