Comparison
datafusion vs pandasql vs polars 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 pandasqlBlazingly fast DataFrame library
Actively maintained. Last release 8 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install polarsQuery 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.
- polars is the most used: 74.9M downloads a month, 36× more than pandasql.
- Maintenance is comparable: polars 90, datafusion 82 on Pythie’s Index.
- polars is growing fastest: downloads +23% over the last month.
- Safe default for a new project: polars.
Side by side
| Metric | datafusion | pandasql | polars | qpd |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 4 |