count of entries in a column pandas code example
Example 1: pandas get count of column
df['column_name'].value_counts()
Example 2: count values python
from collections import Counter
values=np.ones(10)
Counter(values)
df['column_name'].value_counts()
from collections import Counter
values=np.ones(10)
Counter(values)