What is the purpose of the value_counts() method in pandas?

Select the correct answer: Single Choice

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?