What is chained indexing and why does it cause the SettingWithCopyWarning?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks what chained indexing is in pandas and why it triggers the SettingWithCopyWarning. Tests whether you understand how Python splits indexing into separate get and set calls, when pandas returns a view or a copy, and how to write assignments that reliably update a DataFrame.