How do you identify and handle duplicate rows in a Pandas DataFrame?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to find, count and remove duplicate rows in a pandas DataFrame, including duplicates defined by a subset of columns. Tests whether you can choose which copy to keep, handle conflicting records sensibly and avoid the usual data cleaning mistakes.