Cleaning data
Finding and fixing mistakes in data, like typos, spelling variations, duplicate rows, missing values and impossible values, so the results are correct.
Understanding Cleaning data in Years 5–6 Data & Information
What it does: An empty cell is a missing value. Cleaning data means spotting it and then fixing it or marking it clearly. No Year 5 student can be 150 years old. Checking for values that cannot be true is part of cleaning data. Spelling variations get counted as different answers. Cleaning them to one spelling makes the counts correct. Duplicate rows count the same person twice, so totals and averages will be wrong. Remove the extra row. Missing values should be found and fixed properly. Guessing a random number adds a new mistake. A duplicate row repeats information already in the table. Cleaning data removes it so totals are not too big.
Common mistakes: Lists do not have an add method. To put the fixed name (with the same capital letter) into the list, use clean.append(n.title()). list(rows) keeps the duplicate 'Ali'. To remove duplicate rows, turn the list into a set first: list(set(rows)).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 21–30) and word search (Modules 21–56).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
clean dataFill in the Blanks
Spot the Error
Student with a class code? Join your class →