Track T3
Data Quality
Find and fix data problems with recipes you can export.
Unit 1Know your data
- 1Tidy data: one variable per column, one observation per rowRecognize tidy tables, see why tests and models expect them, and spot the shape a table is really in.
- 2Dates, units and column typesTurn text that looks like numbers, dates and flags into real types, without letting an ambiguous format choose for you.
- 3Coding categories cleanlyMerge spellings of the same level, keep levels that really differ apart, and handle rare levels with a stated rule.
Unit 2Missing data
- 4Missing values: how much, where and whyRead missingness patterns and learn the three mechanisms that decide which fixes are safe.
- 5Testing for MCAR: Little, Hawkins and Jamshidian–JalalWhat the three MCAR tests in CodeSplash check, how to read them together, and what a large p-value can't tell you.
- 6Filling gaps and what it costsFill missing values by column, by group or along time, flag what you filled, and see what a single fill does to uncertainty.
- 21Multiple imputation and sensitivityFill gaps many plausible ways, combine the results with Rubin's rules, and test how much your conclusion depends on the assumption.
- 22Diffusion imputation for series (CSDI)Fill the gaps in several daily measurements with a conditional diffusion model, check it on values you hid on purpose, and compare it with straight-line filling before you use its imputations.
Unit 3Fix the errors
- 7Impossible values and placeholdersCatch codes like -99 and values no real measurement could take, and write the rule that handles them.
- 8Duplicates and what they do to your sampleTell true duplicates from repeated measures, remove them with a stated key, and see why they make results look too certain.
- 9Outliers: investigate, don't deleteWhat to do once a value is flagged, from correcting an error to keeping it and showing how much it matters.
Unit 4Recipes
- 10Recipes: cleaning you can replayTurn suggested fixes into an ordered recipe, check each step's changes, and apply it as a new dataset version.
- 11Pivot and unpivotMove data between long and wide, and know which shape each analysis needs.
- 12Joins without surprisesChoose a join type by what you want to keep, predict the row count, and catch keys that multiply rows.
- 13Aggregation and window functionsSummarize to one row per group, add a group's statistic to every row, and compute running values without using the future.
- 14Export a recipe to SQL, pandas and dplyrTake your cleaning out of the app as code, and choose Replay or Refit for how learned values behave.
Unit 5Features for models
- 15Scaling numeric featuresStandardize, min–max or robust-scale a column, know which models care, and learn scaling values from training rows only.
- 16Encoding categories for modelsChoose among one-hot, ordinal, frequency, target, weight-of-evidence and hash encoding, and avoid the leak in target encoding.
- 17Binning, and what it throws awayCut a numeric column by width, by quantile or at chosen breaks, and weigh that against the information you lose.
- 18Transforming skewed data with Box–Cox and Yeo–JohnsonFind a power transformation for a skewed column, read its interval, and state what your result means on the new scale.
- 19Date and text featuresTurn dates into parts and durations, keep cycles circular, and turn text into numbers a model can use.
- 20Leakage-safe pipelinesFind the three common leaks, and keep every learned value inside the training rows of each fold.
- 23Embeddings as a lookup stepAdd a pretrained sentence embedding of a text column in Prepare, and see why it's a lookup, not SQL.