Comparison
datafusion vs pandasql vs pyspark vs qpd
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 10 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install pysparkQuery Pandas Using SQL
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install qpdIn short
- pandasql is archived: avoid it for new projects.
- qpd is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- pyspark is the most used: 48.5M 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 | qpd |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 4 |