How do you get rid of duplicate rows in Pandas?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Remove duplicate rows from a Pandas DataFrame and control which columns define a duplicate and which copy is kept. It tests drop_duplicates with subset and keep, index handling after the drop, and catching near-duplicates that differ only in case or whitespace.