Data Cleaning Framework
- 23Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What does the acronym CLEAN stand for in the five-step data cleaning framework?
What does the acronym CLEAN stand for in the five-step data cleaning framework?
23 questions
- 1
What does the acronym CLEAN stand for in the five-step data cleaning framework?
- A
Clean, Locate, Evaluate, Adjust, Notify
- B
Categorize, List, Examine, Add, Note
- C
Check, Label, Eliminate, Augment, Narrate
- D
Conceptualize, Locate solvable, Evaluate unsolvable, Augment, Note and document
Correct answer
DConceptualize, Locate solvable, Evaluate unsolvable, Augment, Note and document
Explanation
The CLEAN framework stands for Conceptualize the data, Locate solvable issues, Evaluate unsolvable issues, Augment the data, and Note and document.
- A
- 2
What is the data cleaning philosophy according to the video?
- A
Data should be good enough to analyze, share, and iterate on
- B
Data should be perfectly clean before any analysis begins
- C
Data cleaning should focus only on missing values
- D
Data cleaning is a one-time process at the start of a project
Correct answer
AData should be good enough to analyze, share, and iterate on
Explanation
The video states that you're not aiming for perfect data, but to get to a place where your data is good enough to analyze, share, and iterate on.
- A
- 3
In the onion analogy for data cleaning, what does the first layer represent?
- A
Polishing and standardizing the data
- B
Adding new dimensions to the dataset
- C
Refining and revisiting the underlying data after initial analysis
- D
Getting rid of obvious dirty data
Correct answer
DGetting rid of obvious dirty data
Explanation
The first layer is just getting rid of the obvious dirty stuff. The second layer is polishing and standardizing, and the third layer is refining and revisiting after initial analysis.
- A
- 4
In the GameZone dataset, what does each row represent?
- A
A unique customer
- B
A unique product
- C
A unique transaction line item
- D
A unique order
Correct answer
DA unique order
Explanation
Each row is a unique order, identified by the order ID.
- A
- 5
What is the key metric identified in the GameZone dataset?
- A
USD price
- B
Customer age
- C
Quantity of products
- D
Marketing spend
Correct answer
AUSD price
Explanation
The key metric is the US dollar price.
- A
- 6
Which of the following is NOT listed as a key dimension in the GameZone dataset?
- A
Purchase platform
- B
Time (purchase and ship timestamps)
- C
Product name
- D
Customer email address
Correct answer
DCustomer email address
Explanation
The key dimensions mentioned are time, product name, purchase platform, marketing channel, account creation method, and country code. Customer email address is not listed.
- A
- 7
What are the three main things to identify when conceptualizing data?
- A
Grain, key metrics, and key dimensions
- B
Business questions, stakeholder needs, and data sources
- C
Data types, missing values, and duplicates
- D
Column names, row count, and file format
Correct answer
AGrain, key metrics, and key dimensions
Explanation
To understand and conceptualize the data, you first want to identify the grain (what each row represents), the key metrics, and the key dimensions.
- A
- 8
Which of the following is considered a solvable issue in data cleaning?
- A
Inconsistent date formats
- B
Business logic violations with no context
- C
Missing values with no way to infer them
- D
Outliers that may be real events
Correct answer
AInconsistent date formats
Explanation
Inconsistent date formats are solvable because you have the data and can reformat it. The other options are typically unsolvable without additional context or source of truth.
- A
- 9
How were the missing values in the 'marketing channel' column handled?
- A
They were filled with the most common marketing channel
- B
The corresponding rows were deleted
- C
They were imputed with the value 'unknown'
- D
They were left as blank because they were unsolvable
Correct answer
CThey were imputed with the value 'unknown'
Explanation
Since the column already had a category called 'unknown', blanks were replaced with 'unknown' because it was a solvable issue on the data layer.
- A
- 10
Why were duplicate orders (145 out of 20,000) left in the dataset?
- A
The duplicates were not identified until after the analysis was complete
- B
They were exact duplicates and removing them would bias the analysis
- C
The duplicate count was small (0.725%) and required business context before deletion
- D
Duplicates are always kept in data cleaning to preserve data integrity
Correct answer
CThe duplicate count was small (0.725%) and required business context before deletion
Explanation
Because the impact was small (145 records out of 20,000) and the analyst wanted to confirm with business context before deleting, the duplicates were documented and left in the dataset.
- A
- 11
Which of the following is an example of an unsolvable issue in the GameZone dataset?
- A
Missing purchase timestamp (only 1 record)
- B
The presence of the category 'unknown' in marketing channel
- C
Inconsistent product name spellings
- D
Nonsensical values in the regional lookup table
Correct answer
AMissing purchase timestamp (only 1 record)
Explanation
Missing purchase timestamp is unsolvable because the analyst has no way to infer the correct date from the available data. Inconsistent spellings and nonsensical values in the lookup table are solvable.
- A
- 12
What was the magnitude of records where the ship timestamp was before the purchase timestamp?
- A
10% (2000 records)
- B
5% (1000 records)
- C
20% (4000 records)
- D
1% (200 records)
Correct answer
A10% (2000 records)
Explanation
The video mentions that about 2000 records out of 20,000 (10%) had the ship timestamp before the purchase timestamp.
- A
- 13
According to the video, when is it appropriate to impute missing data?
- A
Always, because complete datasets are required for analysis
- B
Whenever a column has more than 20% missing values
- C
Never, because imputation always introduces bias
- D
Only when you have a reliable source of truth or clear business logic
Correct answer
DOnly when you have a reliable source of truth or clear business logic
Explanation
Imputation should only be done if you have a reliable other source of truth, clear business logic that gives confidence, or if you care more about completeness than accuracy. Data analysts rarely employ imputation.
- A
- 14
What is a recommended practice when dealing with unsolvable issues in a portfolio project?
- A
Document the issues and surface them in the project write-up
- B
Impute values using the average or median
- C
Ignore them completely and focus only on clean data
- D
Delete the records to avoid skewing the analysis
Correct answer
ADocument the issues and surface them in the project write-up
Explanation
For unsolvable issues, the main point is to document them and note the magnitude, making it transparent in the project write-up.
- A
- 15
What does 'augmenting the data' involve?
- A
Creating a separate issues log file
- B
Adding new columns derived from existing data, such as time grains or calculated metrics
- C
Replacing original columns with cleaned versions
- D
Removing all missing values from the dataset
Correct answer
BAdding new columns derived from existing data, such as time grains or calculated metrics
Explanation
Augmentation involves adding new time grains (weeks, months, years), calculating metrics like time to ship, and bringing in additional dimensions from lookup tables.
- A
- 16
What should be included in the issues log according to the video?
- A
The SQL or Excel formulas used to clean each column
- B
Issues, resolution decisions, and percent magnitude impacted
- C
Only the issues that were solvable
- D
A list of all column names and data types
Correct answer
BIssues, resolution decisions, and percent magnitude impacted
Explanation
The issues log should include notes about the resolution, final decisions for each column, and the percent magnitude impacted for the data issues found.
- A
- 17
What is the rule of thumb for when to leave unsolvable issues as is?
- A
If the magnitude is more than 70%
- B
Always leave unsolvable issues regardless of magnitude
- C
If the magnitude is less than 50%
- D
If the magnitude is less than 20%
Correct answer
DIf the magnitude is less than 20%
Explanation
The video states that if the magnitude is less than 20%, you can document it and leave it as is. If a column has more than 70% messed up data, it is probably unusable.
- A
- 18
Which of the following was NOT a step taken to augment the GameZone dataset?
- A
Bringing in region from a lookup table
- B
Merging customer demographic data from a user table
- C
Calculating time to ship in days
- D
Adding purchase year, month, and week columns
Correct answer
BMerging customer demographic data from a user table
Explanation
The video mentions adding time grains, calculating time to ship, and bringing in region. Merging customer demographic data was mentioned as 'if I had a user table', but it was not actually done because it wasn't available.
- A
- 19
What is the final step in the CLEAN framework?
- A
Note and document
- B
Locate solvable issues
- C
Augment the data
- D
Evaluate unsolvable issues
Correct answer
ANote and document
Explanation
The final step is 'Note and document', which involves finalizing the issues log with resolution notes and percent magnitudes.
- A
- 20
According to the video, when should you create a new tab with replicated original data during cleaning?
- A
At the very end of the cleaning process
- B
At the start, to have a paper trail and prevent overwriting
- C
Only when working with dates
- D
Only if duplicates are found
Correct answer
BAt the start, to have a paper trail and prevent overwriting
Explanation
The video recommends creating a new tab replicating the original data before cleaning so that you always have the original to go back to for a paper trail.
- A
- 21
Why did the analyst decide not to delete the 145 duplicate records?
- A
Because they wanted to get business context first
- B
Because deleting them would take too long
- C
Because duplicates are always kept in data analysis
- D
Because the duplicates were not exact
Correct answer
ABecause they wanted to get business context first
Explanation
The analyst decided to leave duplicates in and document them because before deleting, they wanted full business context to clarify that these genuinely are records that can be deleted.
- A
- 22
What was the issue with the regional lookup table and why was it solvable?
- A
It was completely missing and could be recreated from the orders table
- B
It had too many blank rows but could be imputed with 'unknown'
- C
It had inconsistent values but could be fixed by looking up the correct region for each country
- D
It contained duplicates that were removed using pivot tables
Correct answer
CIt had inconsistent values but could be fixed by looking up the correct region for each country
Explanation
The regional lookup table had nonsensical values, but since there is a source of truth for what region a country belongs to, it was solvable by looking up the correct values.
- A
- 23
In the context of data cleaning, what is a 'business logic violation' example from the video?
- A
Having a ship timestamp before the purchase timestamp
- B
Having duplicate order IDs
- C
Having missing values in marketing channel
- D
Having inconsistent date formats
Correct answer
AHaving a ship timestamp before the purchase timestamp
Explanation
A business logic violation is when relationships between columns don't make sense. The example given is a ship timestamp that occurs before the purchase timestamp.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.