by anyfactor · 3y ago · 0 comments
I am hopeful about duckdb mostly because how friendly the people behind the project is. But honestly they really need to improve their csv reader operation. The data type recognition for auto read csv needs work. And duckdb people knows about CSV read is the reason polars has an edge on them and I know they are working on it.
But at the end of all that, I will just wait for Pandas to get faster and better.
There is also dask to increase parallelism and performance which I’ve used on some massive datasets 200GB+
Beyond this, a dataframe api/syntax, compared to SQL syntax, is to me way easier to follow and to debug.
There is work being done on a dataframe API frontend for DuckDB, if you prefer that interface.
The way I see the speed improvements is this: fast processes run faster, moderate-to-long processes (that are still awkward and large in Python, but not enough to justify the shift to Spark) now run in noticeably faster time, and the threshold for “what I need to use Spark for, shifts a long way up the scale. That is, you can now do more, with the same amount of compute.