Hacker Newsnew | past | comments | ask | show | jobs | submit | cybuerg's commentslogin

Crazy how much hate this post is getting.


If you lack a personality, what computer you use is a good replacement :)


I can recommend pola.rs instead of pandas. For my use case it was insanely faster, I did not try it on Windows however.


Try to update your Python environment and also install ALL recommend dependencies for Pandas (and for Geopandas if you use it). I had one old env in Anaconda (Python 3.9.12, Pandas 1.4.2) and then created a new one in Mambaforge (Python 3.10.6 with Pandas 1.5.0). It gives me speed up one of experiment project from ≈30 min to ≈5 min. Use Python code only for glue and leave extensive calculations for C/C++ code. Pandas and Geopandas have the recommended C/C++ dependencies which dramatically speed up calculations and in new versions as I guess they improve integrations with these dependencies.

PS I also recommend to every one to use Mambaforge instead of Anaconda, because it uses Mamba dependency solver written in C++ and it is in orders of magnitude faster.


> Use Python code only for glue and leave extensive calculations for C/C++ code.

That would completely defeat the point of Python for me. I’d rather switch to typescript or C# / Java before I code in C again, but you’re right. Fast Python is an oxymoron. However, in my case my bottleneck is the pandas library. I have to see whether workarounds like Dask work


Huffpost and yahoo answers as a source...


The point isn't to proof that these words are bad, the point is that people have already called for banning these words. 5-10 years ago you would have had similarly "bad" sources for banning blacklist et al., and yet here we are.


They can be wrong now and 5-10 years ago. Something that stupid getting traction doesn't make it more valid


That sounds pretty janky to me...


Jank as in stuttering, not as in shoddy.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: