Compares python pandas, R data.table and R polars by:
- input size:
1e6, 1e7, 1e8 - rolling window size:
1e2, 1e3, 1e4 - rolling functions:
meanandmedian - batching:
singlecomputation andquadruple(2 columns x 2 windows) computation
For comprehensive benchmark of rolling functions see db-benchmark project.
python pandas2.py
Rscript data.table.R
Rscript polars.RAs of 2025-09-16 using
pandas 2.2.3
[email protected]
polars 1.3.1
On Fedora 42 and AMD Ryzen 7 7735HS CPU.
MIT