count values python code code example
Example 1: how to count special values in data in python
df['sex'].value_counts()
Example 2: display entry count for specific column using value_counts spyder.
df.column_name.value_counts()
df['sex'].value_counts()
df.column_name.value_counts()