polars – how to effectivly iterate through categories
I have a large dataframe -> lazyframe that was cut by the Expr.cut function. Now I would like to iterate through these categories, but I failed to find an effective way.
When I use group_by, it tells me it is not iterable (unless I collect it before the grouping). It raises: