How do you get the count of all unique values of a categorical column in a DataFrame?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to count how often each distinct value appears in a categorical pandas column. Tests knowledge of value_counts and its options for missing values, proportions and ordering, plus related tools such as groupby size and nunique.