What does replace() do and how does it differ from fillna() or map()?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks what the pandas replace() method does and how it compares with fillna() and map() when cleaning a column. Tests whether you know how each method treats unmatched and missing values, and when each one is the right tool for a data cleaning task.