Polars is emerging as a strong competitor to pandas for Python data analysis, boasting significant performance improvements due to its Rust backend optimized for parallel processing and vectorized operations. This post tests Polars against pandas with varying vCores, finding Polars generally faster, though it encounters some
Table of contents
The setupThe dataThe premiseTestingA note on eager vs lazy evaluationGroup by + AggregateQuantile ComputationFilteringSortingSorting (with multithreading=False)Sort: