knageswara78 / Python_Solutions

0 stars 0 forks source link

Frequncy count #2

Open knageswara78 opened 5 years ago

knageswara78 commented 5 years ago

How to find the count of each category.

knageswara78 commented 5 years ago

Solution: df["num_doors"].value_counts()

Out: four 114 two 89 Name: num_doors, dtype: int64