Data Cleaning Exercises

Pro exercise

Split train and test by time

For a forecasting model, test rows must come after training rows. Mark rows dated 2026-01-01 or later as test and earlier ones as train, instead of a random split that would leak the future into training.

  • train/test split
  • dates
  • leakage

Sign in with a Pro or Lifetime plan to open the rules, the dataset and the workspace.