4 ms·
According to GitHub, 90% of Pandas’ codebase is written in Python, which probably means there’s a lot of language overhead during operations compared to the rus
by maronato 3y ago
According to GitHub, 90% of Pandas’ codebase is written in Python, which probably means there’s a lot of language overhead during operations compared to the rust code in polars.
That, plus parallelism, probably explains the performance difference. If anything, 60x sounds conservative to me.
- theLiminator 3y agoI think with parallelism that difference is realistic, definitely not in single core performance though, most of pandas is implemented in numpy which should be pretty fast.