Learn scikit-learn
The standard Python toolkit for classical machine learning
scikit-learn provides consistent, well-tested implementations of classical machine learning: linear models, trees and ensembles, clustering, dimensionality reduction, preprocessing, model selection and evaluation. Every model follows the same fit/predict/transform API, so pipelines, cross-validation and hyperparameter search work with any of them. It is the first library most people use for tabular ML and the reference API that XGBoost, LightGBM and many others imitate.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know