S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which pandas method is used to count the frequency of values in a Series?

  • (A) count()
  • (B) value_counts()
  • (C) nunique()
  • (D) unique()
  • Correct Answer - Option(B)
  • Views: 31
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
value_counts() counts the number of occurrences of each unique value in a Series.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics