3 ms·
Curious where do you experience slowness with Pandas? Usually slowness in Pandas will be if you start doing non vector things. Whenever you catch yourself wri
by sireat 4y ago
Curious where do you experience slowness with Pandas?
Usually slowness in Pandas will be if you start doing non vector things.
Whenever you catch yourself writing a loop in Pandas you know you've gone the wrong way.
I too use Python extensively (with Pandas among other things) and usually Pandas is perfectly fine. (havent gone over 64GB memory usage yet)
I consider Pandas to be Numpy with benefits (methods) - since Pandas dataframe is basically just a collection of Numpy arrays. Those are about as close to C type arrays you can get in Python.
The only practical problems have been with regressions among supporting libraries such as pyarrow not playing nice with numpy when working with parquet files.
- anothernewdude 4y agoSlowness from pandas mostly comes when people forget to use df.values before running their algorithm.