Comparison
datafusion vs duckdb vs pandasql vs polars
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 datafusionDuckDB in-process database
Actively maintained. Last release 8 days ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install duckdbsqldf 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 polarsIn short
- pandasql is archived: avoid it for new projects.
- duckdb is the most used: 96.6M downloads a month.
- Maintenance is comparable: polars 90, duckdb 82, datafusion 82 on Pythie’s Index.
- duckdb is growing fastest: downloads +41% over the last month.
- Safe default for a new project: duckdb.
Side by side
| Metric | datafusion | duckdb | pandasql | polars |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 82 | Pythie’s Index: 4 | Pythie’s Index: 90 |
| Verdict | Actively maintained | Actively maintained | Archived | Actively maintained |
| Downloads / month | 728.5K | 96.6M | 2.1M | 74.9M |
| Downloads, month over month | -1% | +41% | -3% | +23% |
| GitHub stars | 612 | 208 | 1.3K | 40.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 25 | 0 | 59 | 3.3K |
| Last release | Oct 12, 2026 | Nov 24, 2026 | Apr 20, 2016 | Nov 24, 2026 |
| Releases, 12 months | 7 | 115 | 0 | 21 |
| Weeks with commits | 18 / 26 | 25 / 26 | 0 / 26 | 26 / 26 |
| Recent contributors | 20 | 2 | 14 | 15 |
| First release | Nov 2020 | May 2019 | Feb 2013 | Mar 2021 |
| Python versions | 3.10 – 3.14 | 3.11 – 3.15 | – | 3.11 – 3.14 |
| License | non-standard | MIT | non-standard | MIT |
| Known vulnerabilities | None | 2 | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.