I have a dataframe column which is a list of strings:
df['colors']
0 ['blue','green','brown']
1 []
2 ['green','red','blue']
3 ['purple']
4 ['brown']
What I'm trying to get is:
'blue' 2
'green' 2
'brown' 2
'red' 1
'purple' 1
[] 1
Without knowing what I'm doing I even managed to count the characters in the entire column
b 5
[ 5
] 5
etc.
which I think was pretty cool, but the solution to this escapes me
