f = pd.DataFrame({'Movie': ['name1','name2','name3']
'genre': [['comedy', 'action'];['comedy','scifi'];
['thriller','action']]
'distributor': ['disney', 'disney','parmount'})
#what if the genre has multiple values in it now name is both part of genre[0] and genre[1] if i use groupby
res = f[f['distributor'] == 'disney'].groupby(['genre'])
desired output
only want movie launched by disney
distributor genre count of movies
disney action 1
disney comedy 2
disney scifi 1