I have a dataframe, which contains info about movies. It has a column called genre, which contains a list of genres it belongs to. For example:
genre
One liner using boolean indexing and list comprehension:
searchTerm = 'something' df[[searchTerm in x for x in df['arrayColumn']]]