pola-rs / polars

Dataframes powered by a multithreaded, vectorized query engine, written in Rust
https://docs.pola.rs
Other
29.34k stars 1.86k forks source link

Support simple aggregations on list columns #9859

Open DavideCanton opened 1 year ago

DavideCanton commented 1 year ago

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:

AFAIK, polars by now returns always null in these cases.

stinodego commented 6 months ago

This is something we'd like to support, but there are some quirks to work out with regards to (nested) null values.

This is not high priority for us right now.

DavideCanton commented 6 months ago

I see, at least now those operation error when executed on list columns, it's better than returning null 👍🏻