finding the count of a particular value in a column pandas code example
Example 1: pandas count specific value in column
(df[education]=='9th').sum()
Example 2: pandas count values by column
df = pd.DataFrame({'a':list('abssbab')})
df.groupby('a').count()