I am using this dataset to try and make a dynamic bubble graph but I came across an issue. When I search for the genre eg Western it searches for exactly that string. The problem is that 'dataset_by_year["genre"]' holds genres with multiple genres (e.g. western, comedy, action), which is not matched.
for genre in genres:
dataset_by_year = BubbleGV[BubbleGV["year"] == year1]
dataset_by_year_and_cont = dataset_by_year[
dataset_by_year["genre"] == genre]
All I want to do is to search for the genre within the multiple genres and match the string.
Any help would be greatly appreciated.