How would you perform group-wise normalization in pandas using transform()?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to normalize values within each group of a pandas DataFrame using groupby and transform, for example with a per-group z-score or min-max scaling. Tests understanding of how transform aligns results with the original rows and how to handle groups that break the formula.