Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Data Science Bootcamp 2027: SQL, Pandas, ML, MLOps (Python)
Role Play
New

Data Science Bootcamp 2027: SQL, Pandas, ML, MLOps (Python)

Python data science: SQL, pandas, statistics, machine learning, MLOps. Build a flight-delay predictor, dashboard and API
Created byBahadır ERDUN
Last updated 12/2026
English
GermanEnglish

What you'll learn

  • Query 7 million flight records on your own computer with DuckDB SQL: GROUP BY, joins, time zones, window functions, CTEs and data quality rules
  • Shape and clean tables with pandas: dtypes, selection, missing values, dates, merges, groupby, reshaping and outliers, with a test for each step
  • Compute statistics by hand with NumPy, then with libraries: distributions, correlation, confidence intervals, hypothesis tests, Simpson's paradox
  • Build honest charts with matplotlib, seaborn and plotly, and a Streamlit dashboard whose numbers match the SQL warehouse
  • Train and compare models with scikit-learn and LightGBM: linear and logistic regression, trees, boosting, a neural network, k-means and PCA
  • Catch data leakage, random splits and test-set tuning; evaluate with PR-AUC, calibration, cost-based thresholds and intervals over whole days
  • Explain a model with permutation importance and SHAP values, and find where it fails with error analysis by slice
  • Ask a database in plain English with a local language model, behind a read-only gate, and check each answer against a reference query
  • Ship a model: MLflow registry, a FastAPI service that validates input, Docker, a monthly job, drift monitoring and a release gate
  • Lock each result in a pytest test, and reuse the project skeleton and its checklist of broken states on your own data

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

12 sections • 125 lectures • 12h 14m total length
  • Setup and first run: venv, packages and the sample product6:33

Requirements

  • A computer with Python 3.14 and VS Code with its Python and Jupyter extensions. The course is recorded and tested on Windows; the project's readme also gives the macOS and Linux setup commands. The setup lesson builds the virtual environment, installs the packages and runs the tests.
  • Basic Python: variables, functions, loops, lists and dictionaries. A short refresher lesson on Python for data is included.
  • About 1 GB of disk space for the Python packages, plus the course files (a 41 MB zip). No GPU is needed for the machine learning lessons: scikit-learn and LightGBM run on the CPU.
  • No SQL, statistics or machine learning background is needed; each topic starts from the first step.
  • Optional: about 6.7 GB of disk for the full 12 months of data (the lessons run on the small samples in the course files), Ollama with a free 4.7 GB local model for the LLM section, and Docker for the Docker lesson.

Description

This course contains the use of artificial intelligence.

Will my flight arrive late? In this course you build OnTime, a data science product that answers that question two hours before departure, from raw public data to a tested prediction API. One project runs through every section, so each new tool works on the same data and on the same question. The course draws on 7,049,869 US flight records (September 2025 to August 2026); the predictor covers departures from the 30 busiest airports.

How the lessons work

  • One concept per lesson, with code you run yourself.

  • The broken version comes first. Most lessons start from a mistake you see on screen: a model with a "perfect" PR-AUC of 1.0000 because one column leaks the answer, two local clocks subtracted as if they were one, which gives half the flights of two months a wrong duration, a chart that draws a 1.88x gap as 28.75x. Then the fix, then the same run again.

  • By hand first, then the library: a mean in NumPy before pandas, a confusion matrix before scikit-learn, a drift score before the monitoring code.

  • Every number is checked. Each coding lesson comes with a test file, and every number in the videos was measured, with the set of flights it was measured on.

  • Honest results stay in. Some fixes changed almost nothing, and the lesson says so.

What you build, section by section

  • Setup: a virtual environment, the whole sample product in one command, every test passing offline.

  • Foundations: Python and NumPy for data, Jupyter notebooks, the product's target and prediction moment, collecting flights and weather.

  • SQL with DuckDB: counts, GROUP BY, joins, time zones, window functions, CTEs, data quality rules, a Parquet warehouse.

  • pandas: dtypes, selection, vectorizing, missing values, dates, merges, groupby, reshaping, outliers, and when SQL is the better tool.

  • Statistics: distributions, correlation, confidence intervals, hypothesis tests, multiple testing, Simpson's paradox, conditional probability.

  • Visualization: matplotlib, seaborn, plotly, and a Streamlit dashboard with filters and a SQL box.

  • Machine learning (40 lessons): regression, logistic regression, trees, gradient boosting, leakage, time splits, cross-validation, tuning, calibration, thresholds, importance, clustering, a forecast, a neural network and error analysis. On the August test month, the models climb from a PR-AUC of 0.2908 (always "on time") to 0.6942 (LightGBM).

  • LLM-assisted analysis: plain English to SQL with a local model, a read-only gate, and checks for answers that run and are wrong.

  • MLOps: seeds, MLflow, a FastAPI service that refuses bad input, training–serving skew, a monthly job, monitoring, pipeline tests, Docker, CI with a release gate, and responsible data.

  • Capstone: the whole chain on a new month, and the same skeleton for your own data.

What you get

  • The working OnTime project, with 346 tests that run offline on a small sample.

  • A folder for every coding lesson: its code, sample data, a test file and a Jupyter notebook generated from the code (129 notebooks).

  • 10 section quizzes (96 questions), a 50-question practice test and 12 coding exercises.

  • English and Turkish subtitles.

What this course does not cover

  • Deep learning frameworks: one lesson builds a small neural network with scikit-learn; there is no PyTorch, and no image or text models.

  • Big data clusters and cloud deployment: everything runs on one computer with DuckDB, and the API runs in Docker on your own machine.

  • A hosted CI service: the lesson writes a GitHub Actions workflow and runs each of its steps by hand on one computer; the workflow is not run on GitHub.

  • Cancellations: OnTime does not predict them.

  • Power BI: a written guide shows how to read the same Parquet file; it was not tried in Power BI itself.

  • The LLM section uses a free local model (qwen2.5-coder:7b through Ollama), not a paid API; retrieval and agents are not covered.

  • The full 12 months (about 6.7 GB on disk) are optional: the lesson code runs on the small samples in the course files, and where the full data gives a different number, the video shows both.

Data sources: flight data from the U.S. Department of Transportation, Bureau of Transportation Statistics (Airline On-Time Performance); weather data from NOAA National Centers for Environmental Information (GHCN-Daily); airport locations from OurAirports. The course files contain small subsets prepared for teaching, not original, unaltered agency data. All analyses are the instructor's own. This course is not affiliated with, and no endorsement is implied by, these agencies.

Who this course is for:

  • Software developers who know basic Python and want to learn data science on one real project, from raw files to a tested service.
  • Developers and analysts who already write SQL or reports and want statistics and machine learning with honest evaluation.
  • Anyone who wants to see the common mistakes of data work (leakage, wrong time zones, misleading charts, test-set tuning) happen on screen, and then fix them.
  • Not the right course if you are looking for deep learning on images or text, Spark clusters or cloud deployment: these are not covered.