What is the difference between nunique() and unique() in pandas?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how the pandas methods unique() and nunique() differ in what they return and how they treat missing values. Tests practical pandas knowledge for exploring a column, checking cardinality and counting distinct values per group or across columns.