Benchmarking pandas against Polars from a pandas PoV
Or: How writing efficient pandas code matters
Introduction
I've regularly seen benchmarks that show how much faster Polars is compared to pandas. The fact that Polars is faster than pandas is not too surprising since it is multithreaded while pandas is mostly single-core. The big difference surprises me though. That's …