Learn statsmodels
Statistical models, tests and time series with full inference in Python
statsmodels estimates statistical models such as linear and generalised linear regression, mixed models and ARIMA-family time series, and reports the inference around them: standard errors, confidence intervals, hypothesis tests and diagnostics. It supports R-style formulas on pandas DataFrames. Use it when you need to explain and test relationships in data, not just predict.
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