pandas count value in column code example
Example 1: Find the value counts for the column 'your_column'
df["your_column"].value_counts()
Example 2: pandas count values by column
df = pd.DataFrame({'a':list('abssbab')})
df.groupby('a').count()
df["your_column"].value_counts()
df = pd.DataFrame({'a':list('abssbab')})
df.groupby('a').count()