Answers for "how to count the value of one col value in dataframe"

1

pandas count specific value in column

(df[education]=='9th').sum()
Posted by: Guest on November-28-2020
1

Find the value counts for the column 'your_column'

df["your_column"].value_counts()
Posted by: Guest on November-19-2020

Code answers related to "how to count the value of one col value in dataframe"

Python Answers by Framework

Browse Popular Code Answers by Language