How many games does Ashley’s channel actually cover?
Lesson 5.2 · Three Spellings, One Game
Ashley
Four games. She plays two.
Ashley pivots views by game and gets four games.
She has never played four games on the channel. She has played two.
“Minecraft,” “Minecraft ” and “minecraft” are three different things to the computer, and one row got exported twice.
The short answer
Two. Minecraft with 7,100 views and Rocket League with 6,200, once the spellings agree and video 7 is counted once. The export said four games and 15,000 views. It was wrong by two games and 1,700 views, and it never said a word.
Try it yourself
Step through fixing the game names and removing the duplicate. Watch the totals change.
Views by game, with the number problems from 5.1 already fixed but the names untouched. Four “games.” Video 7 is counted twice.
What you just did has a name
Standardizing and de-duplicating
Making every version of the same thing look identical is standardizing: same spelling, same capitals, no stray spaces.
Removing rows that are the same record twice is de-duplicating. Together they’re most of what “data cleaning” means in practice.
A few more things
Computers are literal
To you, “minecraft” is obviously Minecraft. To a pivot table it’s a new category. Standardizing is you telling the machine what you already knew.
Duplicates inflate everything
One row twice means every total, every average and every count is a little too high, and the error is invisible because the row itself looks fine.
Decide what “same” means
Two rows with the same video number are duplicates. Two rows with the same view count are not. Somebody has to decide which columns define “the same record,” and that decision is a judgment call.
Go deeper
The longer version, if you want it.
Fuzzy matching
Exact-match cleaning catches “Minecraft ” and “minecraft.” It misses “Mincraft.” Fuzzy matching scores how similar two strings are (how many letters you’d change to turn one into the other) and merges the ones above a threshold. Set the threshold too loose and “Rocket League” starts merging with things it shouldn’t.
This is the first place in the course where cleaning turns into a model: a rule with a knob, tuned by a person, that gets some cases wrong. Keep that in mind for Module 16.
Quick check
Rosa counts sign-ups for the newspaper club. The list has “Jordan T.”, “jordan t” and “Jordan T.” again, one per meeting he showed up to. How many sign-ups is that?
Let’s take it slower
Here’s a quick test. Would a person looking at two rows say “that’s the same thing”? If yes, and the computer disagrees, you have a standardizing job: make the spellings, capitals and spaces match so the machine catches up to you. Then ask a second question: is this row the same event written down twice? If yes, that’s a de-duplicating job: keep one, drop the rest. Standardizing fixes names that look different but aren’t. De-duplicating fixes rows that look fine but were already counted.
More examples
Contacts on a new phone
Move to a new phone and your contacts merge from three accounts. Now Mom is in there four times: “mom,” “Mom,” one entry with her number and one with her email. The “merge duplicates” button is standardizing and de-duplicating with a friendlier name.
The doubled-up playlist
Felix builds a party playlist from two friends’ exports. Half the songs show up twice, once as “Remaster 2019” and once plain, so shuffle plays the same track back to back. The “400 songs” brag is really about 240.
Back to the question
So how many games does the channel cover?
Show the answer
Two. Minecraft with 7,100 views and Rocket League with 6,200, once the spellings agree and video 7 is counted once. The export said four games and 15,000 views. It was wrong by two games and 1,700 views, and it never said a word.
One last question
Why did the pivot show four games?
Talk Card
Talk Card · 5.2
“Minecraft,” “minecraft” and “Minecraft ” are three different games to a computer. Standardize the spelling and remove duplicates, and every total changes.
Data to AI · pettigrewlab.com/learn
