Data Cleaning Exercises

Pro exercise

Bin ages with a band table

Assign each person an age band using the approved band table (0–17, 18–34, 35–54, 55+). Edges are where binning code usually goes wrong, so 17, 18, 34, 35, 54 and 55 must land in the right band.

  • binning
  • lookups
  • boundaries

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