How does boolean masking/indexing work in Pandas for filtering rows?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Explain how boolean masks filter rows in a pandas DataFrame, from building the mask to indexing with it. It checks whether you understand index alignment, combining conditions with the right operators, missing values and safe assignment through a filter.