← Back to courses

DATA SCIENCE · ENGLISH EDITION

One dataset.
A complete product.

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

Build OnTime: a flight-delay predictor, dashboard and tested API. Follow one real question from raw public data to a working product.

123 video lessons12 h 09 min11 sectionsEnglish

Subtitles in 8 languages: English, Turkish, Spanish, Portuguese (Brazil), German, French, Hindi and Italian.

Planned release: 1 December 2026, 00:00 (Türkiye, UTC+3)

Explore the curriculum ↓

Udemy enrollment link will be added when the course is published.

Launch coupon: LETSBUILD-DEC26 · Available when the course is published.

ONE PROJECT, EVERY STEP

From flight records to OnTime.

7,049,869 US flight records · September 2025–August 2026. Predictions cover departures from the 30 busiest airports, two hours before departure. Small teaching samples are included; the full dataset is optional.

  1. 01Flights + weatherBTS · NOAA
  2. 02SQL warehouseDuckDB · Parquet
  3. 03Clean + explorepandas · statistics
  4. 04VisualizeStreamlit dashboard
  5. 05Train + evaluatescikit-learn · LightGBM
  6. 06Ask the dataLocal LLM · read-only SQL
  7. 07Serve + monitorMLflow · FastAPI · Docker
  8. 08CapstoneOnTime end to end

A learning and development workflow; the deployed prediction API does not call an LLM for every prediction.

FOLLOW THE REAL BRANCHES

Inside OnTime.

Select a topic, then a numbered scenario. The moving light follows the existing connections; inactive routes stay faint.

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

Built for practice

346offline tests in one working project129Jupyter notebooks12coding exercises146questions: 96 in quizzes + 50 in the practice test

One concept per lesson. See the broken version, fix it, run it again, then lock the result in a test.

Tools you will use

Python 3.14 · NumPy · pandas · DuckDB · Parquet · matplotlib · seaborn · plotly · Streamlit · scikit-learn · LightGBM · SHAP · MLflow · FastAPI · Docker · pytest · Ollama

11 SECTIONS · ORIGINAL ENGLISH LESSON TITLES

Explore every step.

Section 1: Setup (1 video lecture, 6:33)

Install Python 3.14, VS Code, a virtual environment and the course packages on a clean PC, run the whole sample product in one command, and see every test pass offline.

  1. 1.1 Setup and first run: venv, packages and the sample productvideo 6:33
Section 2: Foundations and the data (10 video lectures, 65:10)

Refresh Python for data, tell analysis, data science and ML apart, use notebooks safely, compute with NumPy, define OnTime's target and moment, collect flights and weather.

  1. 2.1 Data analysis, data science, machine learning: three ringsvideo 5:52
  2. 2.2 Python for data: when 0651 becomes 651video 8:54
  3. Coding exercise: Clock text to minutes after midnightexercise
  4. 2.3 Jupyter notebooks: cells, kernels and the out-of-order trapvideo 6:44
  5. 2.4 Mean and standard deviation by hand: one empty value, no numbervideo 4:35
  6. Coding exercise: Mean and standard deviation by hand, without the empty cellsexercise
  7. 2.5 NumPy arrays: vectorizing, masks and broadcastingvideo 4:18
  8. 2.6 The product: will my flight be late, two hours before departure?video 9:29
  9. 2.7 Collecting flights: a monthly zip and its data dictionaryvideo 5:20
  10. 2.8 Reading a month with DuckDB: column109, the column with no namevideo 4:39
  11. 2.9 Weather files: when 389 means 38.9 °Cvideo 7:22
  12. 2.10 Matching stations to airports: the nearest one went silent in 1951video 7:53
  13. Quiz: Foundations and the dataquiz, 10 questions
Section 3: SQL for data (DuckDB) (10 video lectures, 56:31)

Query 7 million flights with DuckDB: counts, GROUP BY, joins, time zones, window functions and CTEs, quality rules, and a warehouse that writes the same Parquet bytes twice.

  1. 3.1 Section map: SQL for data with DuckDBvideo 2:46
  2. 3.2 Your first query: DuckDB over a CSV, and what COUNT really countsvideo 6:30
  3. Coding exercise: What COUNT counts: a late rate over labelled flightsexercise
  4. 3.3 GROUP BY and HAVING: the departure hour that was 100% latevideo 5:58
  5. 3.4 JOIN: a time zone for every airport, and the rows a join losesvideo 5:42
  6. Coding exercise: The rows a join loses: LEFT JOIN and a checkexercise
  7. 3.5 Flight duration with ZoneInfo: both clocks in UTCvideo 3:22
  8. 3.6 Flight durations in SQL: joining a daily UTC offset tablevideo 5:23
  9. 3.7 Clock text: 2400 is not a timevideo 5:19
  10. 3.8 Window functions and CTEs: the previous flight of the same aircraftvideo 7:44
  11. 3.9 Data quality rules in SQL: the key that only looked uniquevideo 6:40
  12. 3.10 Parquet and a small warehouse: the same bytes twicevideo 7:02
  13. Quiz: SQL for data (DuckDB)quiz, 10 questions
Section 4: pandas: shaping and cleaning (15 video lectures, 84:36)

Shape tables with pandas: dtypes, selection and assignment, vectorizing, missing values, dates, merges, groupby, reshaping, outliers; and when SQL is the better tool.

  1. 4.1 Section map: pandasvideo 2:53
  2. 4.2 DataFrame anatomy: arrays, Series and dtypesvideo 3:55
  3. 4.3 Reading a CSV: the "NA" that is not missingvideo 5:25
  4. 4.4 Masks and copies by hand: a change that changed nothingvideo 3:47
  5. Coding exercise: Select with a mask, change the table itselfexercise
  6. 4.5 Selecting and assigning in pandas 3: chained assignment and locvideo 5:53
  7. 4.6 Loops vs vectorized: iterrows 11.04 s, NumPy 0.064 s, same answervideo 6:58
  8. 4.7 Missing values by hand: 326 flights with no labelvideo 3:41
  9. 4.8 Missing labels: fillna(0) counted 34,114 unlabelled flights as on timevideo 6:20
  10. 4.9 Calendar features by hand: weekdays, local clocks and observed holidaysvideo 4:14
  11. 4.10 Matching pandas calendar features to the SQL training tablevideo 4:29
  12. 4.11 Merge: one airport, two codes, 4,204 lost flightsvideo 8:43
  13. 4.12 groupby: count ranks volume, mean ranks riskvideo 6:40
  14. Coding exercise: Group by airport: rank by the late rate, not the countexercise
  15. 4.13 Wide and long: melt, pivot, and a mean that skips empty cellsvideo 6:53
  16. 4.14 Outliers: bug or real? 11,326 departures on the wrong dayvideo 8:33
  17. 4.15 SQL or pandas for the same question: 11.65 GB vs 1.32 GBvideo 6:08
  18. Quiz: pandas: shaping and cleaningquiz, 10 questions
Section 5: Statistics and exploration (10 video lectures, 75:58)

Describe a skewed delay by hand, correlate, put intervals on rates, test claims and A/B splits with false alarms kept in check, find a confounder, use conditional probability, report with sets.

  1. 5.1 Section map: statistics and explorationvideo 4:10
  2. 5.2 Distributions by hand: mean, median, spread and a skewed delayvideo 9:42
  3. 5.3 Correlation by hand: Pearson, Spearman, and the level you measure atvideo 9:24
  4. 5.4 Confidence intervals: 6 late flights out of 6, how sure are we?video 9:16
  5. Coding exercise: A confidence interval that survives 6 late flights out of 6exercise
  6. 5.5 Is AA later than WN? A test that answers the opposite questionvideo 9:09
  7. Coding exercise: Two late rates: a z-test that looks both waysexercise
  8. 5.6 Two groups, three ways: z test, permutation and bootstrapvideo 4:46
  9. 5.7 Thirty tests that cry wolf: false alarms and Bonferronivideo 5:15
  10. 5.8 Simpson's paradox: the airline that looks later is notvideo 9:30
  11. 5.9 Conditional probability: P(late given rain) is not P(rain given late)video 7:38
  12. 5.10 Findings with their set: four late rates, all of them truevideo 7:03
  13. Quiz: Statistics and explorationquiz, 10 questions
Section 6: Visualization and dashboards (8 video lectures, 51:11)

Build charts with matplotlib, seaborn and plotly, catch dual and truncated axes and unreadable histograms, and ship a Streamlit dashboard with filters and a SQL box that matches the warehouse.

  1. 6.1 Section map: visualization and dashboardsvideo 3:25
  2. 6.2 matplotlib anatomy: figure, axes, and the dual axis that misleadsvideo 8:35
  3. 6.3 Distribution charts: 99.63% of the flights in one barvideo 8:06
  4. 6.4 The truncated axis: a 1.88x gap drawn as 28.75xvideo 6:44
  5. 6.5 Interactive charts with plotly: 612,038 points in 3,719 pixelsvideo 8:06
  6. 6.6 A Streamlit dashboard whose numbers match the warehousevideo 7:21
  7. 6.7 Dashboard filters: one WHERE for the whole pagevideo 4:38
  8. 6.8 A query box on the warehouse: read-only, a row cap, a timeoutvideo 4:12
  9. 6.9 The same KPIs in Power BI, from Parquet (written guide)article
  10. Quiz: Visualization and dashboardsquiz, 10 questions
Section 7: Machine learning (40 video lectures, 223:07)

Regression by hand, then scikit-learn; leakage, splits, CV, tuning, regularization; logistic, trees, boosting, a neural net; metrics, calibration, importance; clusters, a forecast; error analysis.

  1. 7.1 Section map: machine learningvideo 3:52
  2. 7.2 Linear regression by hand: the best line through five flightsvideo 3:36
  3. 7.3 Normal equations and gradient descent: two roads, one stopped too earlyvideo 6:27
  4. 7.4 The accuracy trap: 70.92% accurate, zero late flights caughtvideo 8:57
  5. Coding exercise: The confusion matrix: recall and precision by handexercise
  6. 7.5 Logistic regression: probabilities, and airports that are not numbersvideo 7:59
  7. 7.6 scikit-learn Pipeline: fit on train only, and an honest near-zerovideo 6:53
  8. 7.7 Decision trees: one Gini split by hand, and the tree that memorizedvideo 4:44
  9. 7.8 Depth limits and random forests: fewer questions, more treesvideo 4:02
  10. 7.9 Gradient boosting by hand: trees that learn from leftoversvideo 5:31
  11. 7.10 The overfitting curve: how many leaves, picked on Julyvideo 5:58
  12. 7.11 Regularization: overfitting at 2,000 rows, flat at 100,000video 8:45
  13. 7.12 Leaking data: the perfect model, PR-AUC 1.0000video 7:43
  14. 7.13 The previous leg's delay by hand: what T really knowsvideo 3:54
  15. 7.14 Previous-leg features in SQL: enforcing the prediction cutoffvideo 6:26
  16. 7.15 Random split vs time split: a better ROC-AUC that is not realvideo 8:26
  17. Coding exercise: Cut in time: train, validation and test by the calendarexercise
  18. 7.16 Cross-validation: shuffled folds vs folds in time ordervideo 6:20
  19. 7.17 KFold and TimeSeriesSplit: the same folds, and the full training monthsvideo 3:25
  20. 7.18 Tuning on the test month: a score that helped choose itselfvideo 5:09
  21. 7.19 GridSearchCV with folds in time order: is tuning better than the defaults?video 4:45
  22. Quiz: Machine learning foundationsquiz, 10 questions
  23. 7.20 Calibration: ECE 0.0538 to 0.0188, so 20% means about 20%video 6:53
  24. 7.21 Which month learns the calibration: July, not August or the training monthsvideo 3:53
  25. 7.22 Where to set the alarm: a threshold from costsvideo 4:03
  26. Coding exercise: Choose the threshold from what each mistake costsexercise
  27. 7.23 Class weights: higher recall, distorted probabilitiesvideo 5:43
  28. 7.24 Missing values in models: dropping rows cost 0.099 PR-AUCvideo 5:26
  29. 7.25 Median imputation and missing-value flags with SimpleImputervideo 3:58
  30. 7.26 Does the weather help? Measure it, with an intervalvideo 6:15
  31. 7.27 Whole days, not flights: what a bootstrap interval coversvideo 4:08
  32. 7.28 Permutation importance: what the model leans onvideo 5:01
  33. 7.29 Shuffled is not removed: reading permutation importancevideo 5:00
  34. 7.30 Predicting minutes: the mean is the wrong target for MAEvideo 3:51
  35. 7.31 LightGBM for minutes: the l1 loss, RMSE, and trimming the tailvideo 4:56
  36. 7.32 Eleven classifiers, one table: naive Bayes is close to a coin flipvideo 5:07
  37. 7.33 k-NN by hand, and why Gaussian naive Bayes fails on one-hot columnsvideo 6:08
  38. 7.34 k-means: scale first, or flight count decides everythingvideo 6:18
  39. 7.35 Choosing k and seeing five columns: silhouette and PCAvideo 4:17
  40. 7.36 Forecasting daily flights: last week beats the averagevideo 6:38
  41. 7.37 A neural network by hand: neurons, layers and backpropagationvideo 6:02
  42. 7.38 Ten seeds and the full data: when you need a neural networkvideo 4:49
  43. 7.39 Error analysis: one score hid a 0.35 morningvideo 5:40
  44. 7.40 A separate morning model: one fix, checked on July firstvideo 5:50
  45. Quiz: Machine learning in depthquiz, 10 questions
Section 8: LLM-assisted analysis (7 video lectures, 36:33)

Ask the warehouse in plain English with a local model, stop writes with a read-only gate, check every answer against a reference query, and verify drafted reports.

  1. 8.1 Ask your data: plain English to SQL with a local modelvideo 5:15
  2. 8.2 The schema in the prompt, and a fake model for the testsvideo 4:07
  3. 8.3 A read-only gate: the model's DELETE removed 92 rowsvideo 6:07
  4. 8.4 The second line: a read-only DuckDB connection with file access offvideo 3:21
  5. 8.5 Wrong but plausible: 6 of 24 answers ran fine and were wrongvideo 5:19
  6. 8.6 Six wrong SQL answers: codes, denominators and a month formatvideo 4:25
  7. 8.7 An LLM drafts the report: every number checks out, and the meaning errors passvideo 7:57
  8. Quiz: LLM-assisted analysisquiz, 8 questions
Section 9: From notebook to product (MLOps) (16 video lectures, 92:47)

Once, by hand, for one product: reproducible runs, a registered model, a FastAPI service without skew, the monthly job, monitoring, tests, Docker, responsible data.

  1. 9.1 Section map: from notebook to productvideo 3:44
  2. 9.2 Reproducibility and seeds: which models actually need one?video 8:06
  3. 9.3 One model, one calibrator: a fingerprint check and a 503video 6:46
  4. 9.4 MLflow: log the run and register the modelvideo 4:39
  5. 9.5 HTTP status codes: an API that answers 200 for a flight it cannot scorevideo 4:38
  6. 9.6 A FastAPI prediction API that refuses bad inputvideo 5:48
  7. 9.7 Training–serving skew: same flight, a different probabilityvideo 6:52
  8. 9.8 The monthly job: the first month loaded has no yesterdayvideo 6:19
  9. 9.9 Monitoring the inputs: a January drift alarm caused by the seasonvideo 5:27
  10. Coding exercise: A drift score by hand: PSI and the empty binexercise
  11. 9.10 Monitoring a stale model: ranking mostly holds, calibration slipsvideo 4:39
  12. 9.11 Testing data pipelines: what the small sample cannot seevideo 7:12
  13. 9.12 Docker: the image builds, the API crashes at startvideo 7:55
  14. 9.13 CI and a controlled release: the candidate that must not shipvideo 6:52
  15. 9.14 A CI workflow: green means the product runs, not that the model is goodvideo 3:37
  16. 9.15 Who the model fails: recall airport by airportvideo 6:08
  17. 9.16 Licenses and privacy: may we use the data, and what does a log hold?video 3:57
  18. Quiz: From notebook to product (MLOps)quiz, 10 questions
Section 10: Capstone: OnTime end to end (4 video lectures, 26:49)

Walk OnTime end to end, run a new month through the whole chain, and reuse the skeleton and the broken-state checklist on your own data.

  1. 10.1 Architecture tour: OnTime from zip file to badgevideo 5:43
  2. 10.2 End to end: a new month, retrain, and the API serves the new modelvideo 7:41
  3. 10.3 Your own data on the same skeletonvideo 6:17
  4. 10.4 Closing: measure honestly, then make it better, your turnvideo 7:06
Section 11: Extra: SHAP values (2 video lectures, 10:35)

What the model leaned on for one flight: SHAP values next to permutation importance, and why the two answer different questions.

  1. 11.1 SHAP values: what the model leaned on for one flightvideo 5:34
  2. 11.2 Mean absolute SHAP: column rankings and a month the model never sawvideo 5:00
  3. Quiz: Capstone and SHAP valuesquiz, 8 questions
  4. Practice test: Final practice test: Data Science Bootcamppractice test, 50 questions, 60 min

Requirements

  • Basic Python: variables, functions, loops, lists and dictionaries. A short refresher lesson on Python for data is included.
  • 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.
  • 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.

The optional local LLM also needs sufficient RAM for the model and context. CPU inference can be slower; compatible GPU acceleration is optional. The CPU-only statement above applies to the machine learning lessons.

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.

Scope

No PyTorch/TensorFlow, Spark clusters, cloud deployment, RAG or agents. Power BI is a written guide only. GitHub Actions workflow steps are demonstrated locally. OnTime does not predict cancellations.

Measure honestly. Then improve.

On the August test month, the course reports PR-AUC 0.2908 for the baseline and 0.6942 for LightGBM. These are results from this dataset and evaluation setup, not a general performance guarantee.

Teaching subsets use BTS Airline On-Time Performance, NOAA GHCN-Daily and OurAirports data. Analyses are the instructor’s own; no affiliation or endorsement is implied.