/pandarallel

A simple and efficient tool to parallelize Pandas operations on all available CPUs

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Pandaral·lel

PyPI version fury.io PyPI license PyPI download month

Without parallelization Without Pandarallel
With parallelization With Pandarallel

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.

Installation

pip install pandarallel [--upgrade] [--user]`

Quickstart

from pandarallel import pandarallel

pandarallel.initialize(progress_bar=True)

# df.apply(func)
df.parallel_apply(func)

Usage

Be sure to check out the documentation.

Examples

An example of each available pandas API is available: