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
We start with a DataFrame, group it by a key, apply a filter function to each group, keep only groups that pass the filter, and combine them into a new DataFrame.