pola-rs / polars

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

Split out `Expr.top_k` from `Expr.top_k_by` #16037

Closed MarcoGorelli closed 2 weeks ago

MarcoGorelli commented 2 weeks ago

This hasn't yet been released, so it can be done without it being breaking

this helps keep them separate, as is done for sort and sort_by

I'll try to get a PR together today, max tomorrow