Libraries, speed & errors

Polars & Arrow

Polars, calamine and Arrow for faster reads and columnar pipelines.

Relative time to read and aggregate a large sheet: pandas with openpyxl slowest, pandas with calamine faster, and Polars fastest.Relative time to read and aggregate a large sheet: pandas with openpyxl slowest, pandas with calamine faster, and Polars fastest.columnar and multi-threaded100pandas30+calamine14PolarsRelative timeread + group-bylower is faster

Start with the full guides

The long-form treatment of polars & arrow, with the reasoning the shorter pages assume.

Step-by-step how-tos

One task each, with code you can copy, run and adapt.

Compare the options

Which tool or approach to pick, and why.

When it breaks

The errors this topic produces, with the cause explained rather than just the fix.

Follow it through a track

Prefer an ordered route? These tracks cover polars & arrow along the way, in the order that builds on itself.

Related topics

Subjects that keep turning up on the same pages as this one, most overlap first.

Polars & Arrow is part of Libraries, speed & errors.