Skip to content

Track T3

Data Quality

Find and fix data problems with recipes you can export.

Unit 1Know your data

· 3 lessons
  1. 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.Introductory · 8 min
  2. 2Dates, units and column typesTurn text that looks like numbers, dates and flags into real types, without letting an ambiguous format choose for you.Introductory · 10 min
  3. 3Coding categories cleanlyMerge spellings of the same level, keep levels that really differ apart, and handle rare levels with a stated rule.Introductory · 9 min

Unit 2Missing data

· 5 lessons
  1. 4Missing values: how much, where and whyRead missingness patterns and learn the three mechanisms that decide which fixes are safe.Introductory · 11 min
  2. 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.Applied · 12 min
  3. 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.Applied · 10 min
  4. 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.Advanced · 13 min
  5. 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.Advanced · 12 min

Unit 3Fix the errors

· 3 lessons
  1. 7Impossible values and placeholdersCatch codes like -99 and values no real measurement could take, and write the rule that handles them.Introductory · 8 min
  2. 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.Introductory · 8 min
  3. 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.Applied · 11 min

Unit 4Recipes

· 5 lessons
  1. 10Recipes: cleaning you can replayTurn suggested fixes into an ordered recipe, check each step's changes, and apply it as a new dataset version.Introductory · 10 min
  2. 11Pivot and unpivotMove data between long and wide, and know which shape each analysis needs.Applied · 10 min
  3. 12Joins without surprisesChoose a join type by what you want to keep, predict the row count, and catch keys that multiply rows.Applied · 11 min
  4. 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.Applied · 10 min
  5. 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.Applied · 8 min

Unit 5Features for models

· 7 lessons
  1. 15Scaling numeric featuresStandardize, min–max or robust-scale a column, know which models care, and learn scaling values from training rows only.Applied · 9 min
  2. 16Encoding categories for modelsChoose among one-hot, ordinal, frequency, target, weight-of-evidence and hash encoding, and avoid the leak in target encoding.Applied · 11 min
  3. 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.Applied · 8 min
  4. 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.Applied · 12 min
  5. 19Date and text featuresTurn dates into parts and durations, keep cycles circular, and turn text into numbers a model can use.Applied · 10 min
  6. 20Leakage-safe pipelinesFind the three common leaks, and keep every learned value inside the training rows of each fold.Advanced · 12 min
  7. 23Embeddings as a lookup stepAdd a pretrained sentence embedding of a text column in Prepare, and see why it's a lookup, not SQL.Applied · 10 min