Relative Content

Tag Archive for python-polars

Polars get nth position from Expression type

When I’m aggregating data in polars (e.g. groupby, rolling, group_by_dynamic and calling .agg(...)) how can I get a specific nth position? (In Polars lingo: How can I select an element within an expression within aggregation?)