polars
polars copied to clipboard
Support simple aggregations on list columns
Problem description
Sorry if this is a duplicate, but I did not find anything related by searching in the issue tracker.
Is there any plan regarding supporting simple aggregations (like min or max) on list columns?
Something like a lexicographic order, such that:
- simple list are ordered by comparing value by value, stopping at the shortest one (for example
[1,2] < [1,3]
,[1,2] < [1,2,3]
and so on). - nested list are ordered recursively (for example
[[1,2],[1,3]] < [[1,3]]
,[[1,2]] < [[1,2],[1,3]]
and so on`.
AFAIK, polars by now returns always null in these cases.