I'll just throw it in the discussion: pandas could just interface with and leave the heavy lifting to a RDBMS.
In my opinion, pandas is fundamentally broken and unsuitable for any production workload. The heavy lifting should be left to a RDBMS like you say: something with a sensible, battle-hardened query planner. I've written and debugged too many lines of manual pd joins/merges; something declarative like SQL is much nicer because the query planner is almost always right. Furthermore, as a user, I've always found the panda…
Scaling Pandas: Comparing Dask, Ray, Modin, Vaex, and Rapids
31–34 of 34 posts
Re: Scaling Pandas: Comparing Dask, Ray, Modin, Vaex, and Rapids
#32Earlier quoted context omitted.
This does not solve the issue of compute scalability - slow computations, which are fundamentally opaque, applied to large data frames . Given a series of data frames (or one large one that can be chunked) how do I apply a long running function to each chunk. For that you need scalability across cores and machines hence Dask.
Why do you consider computations to be opaque? Do you not have the source code? There is a ton of low hanging speed in many computations that people treat as black boxes. Often as the result of knowing something extra about the specific input data rather than relying on a generic implementation. In some cases all you need is to write NumPy code instead of Pandas code for a 2-3x speedup. Then suddenly your small clust…
Re: Scaling Pandas: Comparing Dask, Ray, Modin, Vaex, and Rapids
#33I'll just throw it in the discussion: pandas could just interface with and leave the heavy lifting to a RDBMS.
But many sources are outside the db, or run on multiple, disconnected dbs.
Loading data into a db is impractical and I only do it if necessary.
Also, different people run and manage dbs so it’s frequently easier to run in pandas.
Re: Scaling Pandas: Comparing Dask, Ray, Modin, Vaex, and Rapids
#34I'll just throw it in the discussion: pandas could just interface with and leave the heavy lifting to a RDBMS.
In my opinion, pandas is fundamentally broken and unsuitable for any production workload. The heavy lifting should be left to a RDBMS like you say: something with a sensible, battle-hardened query planner. I've written and debugged too many lines of manual pd joins/merges; something declarative like SQL is much nicer because the query planner is almost always right. Furthermore, as a user, I've always found the panda…