·Honza Tyl·1 min read·Archive 2019
Do You Want to Save Time on Data Pre-processing in Python?
Take a look at a very short piece of code that can speed up your data preparation process by 2-6 times. The trick lies in leveraging multiple CPU cores using the command: 'with…'

Take a look at a very short piece of code that can speed up your data preparation process by 2-6 times. The trick lies in leveraging multiple CPU cores using the command: with concurrent.futures.ProcessPoolExecutor() as executor:
For more details, refer to the original text here: https://towardsdatascience.com/heres-how-you-can-get-a-2-6x-speed-up-on-your-data-pre-processing-with-python-847887e63be5?fbclid=IwAR16ckRLMeZ59g8UYrzOBWI5YJCKyH7Cvpg5ZED3inNgZVqgmE1ID666ifk
Původní zdroj: wordpress