πŸ“Š Pandas
Q. Which function is used to count the occurrences of unique values in a Series?
  • (A) unique()
  • (B) nunique()
  • (C) value_counts()
  • (D) count_unique()
πŸ’¬ Discuss
βœ… Correct Answer: (C) value_counts()

Explanation: The value_counts() method counts how many times each unique value appears in a Series.

Explanation by: Sikhar Chaudhary
The value_counts() method counts how many times each unique value appears in a Series.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
87%
Success Rate