1. Home
  2. Explore
  3. Computer Science
  4. Data Cleaning Framework

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Data Cleaning Framework

  • 25Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Data Cleaning Framework

What does the acronym CLEAN stand for in the data cleaning framework?

25 questions

  1. 1

    What does the acronym CLEAN stand for in the data cleaning framework?

    Model answer

    Conceptualize, Locate solvable issues, Evaluate unsolvable issues, Augment the data, Note and document.

    Explanation

    The CLEAN framework is a five-step process for data cleaning introduced in the video.

  2. 2

    What is the data cleaning philosophy regarding perfection?

    Model answer

    The goal is not perfect data, but data that is good enough to analyze, share, and iterate on.

    Explanation

    The video emphasizes that data cleaning is iterative and you don't aim for absolute perfection.

  3. 3

    How is data cleaning compared to peeling an onion?

    Model answer

    The first layer removes obvious dirt, the second polishes and standardizes, the third refines after initial analysis.

    Explanation

    This analogy illustrates the layered, iterative nature of data cleaning.

  4. 4

    What three main things should you identify to conceptualize a dataset?

    Model answer

    The grain of the table (what each row represents), the key metrics, and the key dimensions.

    Explanation

    Understanding these helps you know what to prioritize in cleaning.

  5. 5

    In the GameZone dataset, what does each row represent?

    Model answer

    Each row is a unique order.

    Explanation

    The grain is identified as a unique order, with order ID as identifier.

  6. 6

    What is the key metric in the GameZone dataset?

    Model answer

    USD price.

    Explanation

    The key metric is identified as the US dollar price.

  7. 7

    Name three key dimensions in the GameZone dataset.

    Model answer

    Time (purchase/ship date), product name, purchase platform, marketing channel, account creation method, or country code.

    Explanation

    Key dimensions include time, product, platform, marketing channel, account creation method, and geography.

  8. 8

    What are the three main categories of solvable issues?

    Model answer

    Inconsistent data formats, inconsistent spellings or categorizations, and duplicates.

    Explanation

    Solvable issues can usually be fixed without stakeholder input.

  9. 9

    When are nulls sometimes solvable?

    Model answer

    When you can infer the correct value from business logic or another source, such as using 'unknown' for missing categories.

    Explanation

    Nulls can be solvable if there's a clear default or imputation method.

  10. 10

    How did the video suggest handling inconsistent date formats?

    Model answer

    Use a date function to parse year, month, day and create a properly formatted cleaned column.

    Explanation

    Inconsistent date formats are solvable by reformatting.

  11. 11

    In the video, what was the solution for missing marketing channel and account creation method?

    Model answer

    Impute with 'unknown' since that category already existed in the data.

    Explanation

    The presence of an 'unknown' category made this a solvable issue.

  12. 12

    What method was used to detect duplicates in the dataset?

    Model answer

    A pivot table to count the number of user IDs per order ID, then spot-checking duplicates.

    Explanation

    Duplicates were found by grouping by order ID and checking for multiple user IDs.

  13. 13

    Why might a data analyst leave duplicates in the dataset?

    Model answer

    If the magnitude is small (e.g., 145 out of 20,000) and the impact on analysis is negligible, and you lack full business context to delete them.

    Explanation

    The video left duplicates after spot-checking and noting the low impact.

  14. 14

    What are the three main categories of unsolvable issues?

    Model answer

    Missing data that cannot be inferred, outliers or anomalous values, and business logic violations.

    Explanation

    Unsolvable issues typically require stakeholder or technical team input.

  15. 15

    Give an example of a business logic violation mentioned in the video.

    Model answer

    A ship timestamp that occurs before the purchase timestamp.

    Explanation

    The expected logic is that shipping happens after purchase, so violations are flagged.

  16. 16

    What general rule of thumb was given for handling unsolvable issues with magnitude less than 20%?

    Model answer

    Document it and leave it as is; continue with analysis.

    Explanation

    Low magnitude issues (<20%) are usually safe to ignore after documentation.

  17. 17

    What is the data analyst's perspective on imputation?

    Model answer

    Data analysts rarely use imputation because it risks introducing bias; they prefer to service the truth of the data.

    Explanation

    Imputation is more common for data scientists; analysts prioritize accuracy over completeness.

  18. 18

    Under what conditions might imputation be acceptable?

    Model answer

    If you have a reliable source of truth, clear business logic, or if data completeness is more important than accuracy.

    Explanation

    Imputation should only be used with strong justification.

  19. 19

    What is the purpose of augmenting the data?

    Model answer

    To make the dataset more flexible and robust by adding new columns like time grains, calculated metrics, or merged attributes.

    Explanation

    Augmentation enhances the dataset for better analysis.

  20. 20

    Name two types of new columns added during augmentation in the video.

    Model answer

    Time grains (weeks, months, years) and time-to-ship (difference between ship and purchase dates).

    Explanation

    Time slices and operational metrics were added.

  21. 21

    What was the source of the region data used for augmentation?

    Model answer

    A regional lookup table that maps country codes to regions.

    Explanation

    The lookup table was cleaned and merged into the main dataset.

  22. 22

    What is the recommended practice when creating cleaned columns in a spreadsheet?

    Model answer

    Create a new tab with a copy of original data, and add cleaned columns with a suffix like '_cleaned' instead of overwriting.

    Explanation

    This preserves a paper trail and allows you to revert if needed.

  23. 23

    What is an issues log and what should it contain?

    Model answer

    A document tracking all data issues, their magnitude, whether they are solvable, resolution notes, and final decisions.

    Explanation

    The issues log demonstrates thoroughness and transparency.

  24. 24

    If a column has more than 70% messed-up data, what does that indicate?

    Model answer

    The column is probably unusable and should be excluded from analysis.

    Explanation

    High magnitude issues render a column unreliable.

  25. 25

    How should outliers typically be handled according to the video?

    Model answer

    It's often better to leave them in rather than delete, as they may represent real events; document and surface them.

    Explanation

    Deleting outliers without context can remove legitimate data points.

1 of 25
Question 1 of 25

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent