get count of items in a column dataframe code example Example: pandas get count of column df['column_name'].value_counts()