Comparison
datafusion vs pandasql vs pyspark
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Build and run queries against data
Actively maintained. Last release 7 weeks ago, commits in 18 of the last 26 weeks. A safe choice.
$
pip install datafusionsqldf for pandas
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install pandasqlApache Spark Python API
Actively maintained. Last release 9 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install pysparkIn short
- pandasql is archived: avoid it for new projects.
- pyspark is the most used: 47.9M downloads a month, 23× more than pandasql.
- Maintenance is comparable: pyspark 84, datafusion 82 on Pythie’s Index.
- Safe default for a new project: pyspark.
Side by side
| Metric | datafusion | pandasql | pyspark |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 4 |