how to count the number of certain values in a column python code example
Example: pandas count values by column
df = pd.DataFrame({'a':list('abssbab')})
df.groupby('a').count()
df = pd.DataFrame({'a':list('abssbab')})
df.groupby('a').count()