How does pandas align data when performing arithmetic between a DataFrame and a Series?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how pandas lines up a DataFrame and a Series in arithmetic such as subtraction. Tests label-based alignment, the default axis, the method form with an axis argument, and what happens to labels that exist on only one side.