Without parallelization | ![]() |
---|---|
With parallelization | ![]() |
Pandaral.lel provides a simple way to parallelize your pandas operations on all your CPUs by changing only one line of code. It also displays progress bars.
pip install pandarallel [--upgrade] [--user]
from pandarallel import pandarallel
pandarallel.initialize(progress_bar=True)
# df.apply(func)
df.parallel_apply(func)
Be sure to check out the documentation.
Please note that the master branch in this repository is set to be in line with applio's branch, feature-control-number-of-progress-bars.
An example of each available pandas
API is available:
- For Mac & Linux
- For Windows