count number of -ve values in column using 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()