There is a project that you may be interested in called Koalas which allows running pandas on top of Spark.
Koalas: pandas API on Apache Spark The Koalas project makes data scientists more productive when interacting with big data, by
implementing the pandas DataFrame API on top of Apache Spark. pandas
is the de facto standard (single-node) DataFrame implementation in
Python, while Spark is the de facto standard for big data processing.
With this package, you can:
Be immediately productive with Spark, with no learning curve, if you
are already familiar with pandas.
Have a single codebase that works both with pandas (tests, smaller
datasets) and with Spark (distributed datasets).
The most obvious benefit here being the last point made:
Have a single codebase that works both with pandas (tests, smaller
datasets) and with Spark (distributed datasets).