Scaling Python Data Work: Dask versus Ray versus PySpark

When does single-process pandas stop being enough, and what does moving to Dask, Ray or PySpark cost? Three years of New York City taxi trips (119,133,430 trips, 2.24 GB of Parquet, 7.15 GB in memory) are analysed with the same four queries in pandas (whole table and file by file), Dask 2026.8.0, Ray 2.60.0 and PySpark 4.3.0 with 1, 2, 4 and 8 workers. Every run is a fresh process; work time, start-up, peak memory, the answer (checked against pandas) and the code changes are measured.

NOTE: Public NYC TLC yellow taxi trip records (official Parquet files, SHA-256 recorded); every engine, worker and the application ran on one machine on 127.0.0.1; each measurement is a fresh process with a warm operating-system file cache.

Category: Big Data

Big Data Project BD09 from ProTechSC Academy, with graphical abstract, video demonstration and project guidance.