Concept Flow - filter() for group-level filtering
Start with DataFrame
Group data by key
Apply filter function to each group
Keep groups where filter returns True
Combine filtered groups into new DataFrame
Result: Filtered grouped data
We start with data, group it by a key, then apply a filter function to each group. Only groups passing the filter stay in the result.