I need to get the frequency of each element in a list when the list is in a pandas data frame columns
In data:
din=pd.DataFrame({\'x\':[[\'a\',\'b\',\'c
You can also have an one liner like this:
df = pd.Series(sum([item for item in din.x], [])).value_counts()