What is method chaining with .pipe() in pandas and why is it useful?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what method chaining with the pandas .pipe() method means and when it helps. Tests whether you know how pipe passes the DataFrame and extra arguments, how it keeps custom functions inside a chain, and which mistakes break a chain or change the caller's data.