What is the purpose of the value_counts() method in pandas?
Key points
- value_counts() sorts unique values by frequency
- It returns a Series object
- Helps in analyzing data distribution
- Useful for identifying common values in a column
Ready to go further?
