Tutorials

Learn web development with step-by-step guides

From beginner to advanced — Django, Python, REST APIs, JavaScript, Bootstrap, and more

All Django Python REST API JavaScript Bootstrap Database DevOps Security AI & LLMs Data Science OSINT
Level: All Levels Beginner Intermediate Advanced

Data Science Tutorials

10 tutorials
Data Science Advanced
Data Dashboards in Django: Aggregation APIs, Caching, and Charts

Build a fast Django dashboard: ORM aggregation with TruncDay, conditional and window functions, chart-ready JSON, versioned caching, summary tables refreshed by Celery, and Chart.js under a strict CSP.

17 min · 5
Read
Data Science Advanced
Serving Machine Learning Models in Django: Versioning, Celery Batch Scoring, and Monitoring

Serve a scikit-learn pipeline from Django with versioned skops artifacts, a database registry, a validated JSON endpoint, idempotent Celery batch scoring, and drift, latency and accuracy monitoring.

18 min · 4
Read
Data Science Advanced
Reproducible Data Science: Experiment Tracking with MLflow

Track parameters, metrics, data and code versions with MLflow 3 and a local SQLite store, compare runs from Python, log models with signatures, and serve them through registry aliases with pinned environments.

16 min · 4
Read
Data Science Advanced
Time-Series Forecasting in Python: Baselines, Seasonality, and Honest Backtesting

Forecast a daily series with naive baselines, STL, ETS, SARIMAX and gradient boosting, then rank the models honestly with rolling-origin backtests, MASE and interval coverage instead of a single lucky split.

17 min · 5
Read
Data Science Advanced
A/B Testing and Statistical Inference for Product Teams

Plan, run and analyse A/B tests that hold up: power analysis, z-tests and Welch's t-test, the peeking problem, alpha spending, multiple comparisons, CUPED, SRM checks, bootstrapped revenue, and deterministic variant assignment in Django.

18 min · 5
Read
Data Science Advanced
Evaluating Models Properly: Cross-Validation, Calibration, and Imbalanced Data

Choose the right validation scheme, get honest tuning estimates with nested CV, pick metrics and cost-based thresholds, calibrate probabilities, handle class imbalance, and put bootstrap confidence intervals on every score with scikit-learn.

19 min · 4
Read
Data Science Advanced
scikit-learn Pipelines: Feature Engineering Without Data Leakage

See leakage inflate a cross-validation score, then build a scikit-learn pipeline that prevents it: ColumnTransformer, custom transformers, safe target encoding, grouped and time-aware splits, and persisting the fitted pipeline.

18 min · 5
Read
Data Science Advanced
Data Quality and Data Contracts in Python: Validation with Pandera

Turn assumptions about your data into executable Pandera schemas, validate at pipeline boundaries with pandas and Polars, quarantine bad rows, and version schemas as data contracts with CI tests.

19 min · 4
Read
Data Science Advanced
Analytical SQL with DuckDB: Parquet, Window Functions, and Data from Django

Query Parquet and CSV in-process with DuckDB, use window functions, QUALIFY, ASOF joins and PIVOT, and export Django data to Parquet so analytics never load your production database.

19 min · 4
Read
Data Science Advanced
Polars vs pandas: Fast DataFrames with Apache Arrow and Lazy Queries

How the Arrow memory model, pandas 3 Copy-on-Write and Arrow dtypes, and Polars expressions and lazy query optimisation work in practice, with interop tips and an honest benchmark.

19 min · 4
Read
Missing a topic?

These tutorials are written from real production work, and the best ideas come from readers. Got a suggestion, a correction, or a subject you keep searching for and never find properly explained? Tell us — we read every message, and requested topics move to the front of the queue.

Ready to Build Something?

Check out our premium Django packages and SaaS templates to jumpstart your project.