Comparison
dtaidistance vs tslearn
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Distance measures for time series (Dynamic Time Warping, fast C implementation)
Maintained. Last release 3 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install dtaidistanceA machine learning toolkit dedicated to time-series data
Actively maintained. Last release 6 weeks ago, commits in 20 of the last 26 weeks. A safe choice.
$
pip install tslearnIn short
- tslearn is the most used: 262K downloads a month, 2.8× more than dtaidistance.
- tslearn also has the best Pythie’s Index (83).
- Safe default for a new project: tslearn.
Side by side
| Metric | dtaidistance | tslearn |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 49 | 83 |