1. Home
  2. Explore
  3. Computer Science
  4. Classifying and Fixing Dirty Data

Study methods

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

Classifying and Fixing Dirty Data

  • 28Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Dirty Data Types

Define 'dirty data' and list at least four common types of dirty data mentioned in the content.

28 questions

  1. 1

    Define 'dirty data' and list at least four common types of dirty data mentioned in the content.

    Model answer

    Dirty data includes misspelt words, incorrect descriptions, missing codes, data in the wrong columns, unit inconsistencies, currency issues, formatting issues (e.g., date formats), duplicates, and near duplicates.

    Explanation

    Dirty data refers to any data that contains errors, inconsistencies, or inaccuracies that can lead to problems in analysis and decision-making. The content highlights several common types.

  2. 2

    Why is it problematic to have data in the wrong columns? Give an example from the content.

    Model answer

    Data in wrong columns makes it cumbersome to clean and analyze. An example is having zip codes in the city column, states in the zip code column, and everything except the actual zip code in the zip code column.

    Explanation

    When data is placed in incorrect columns, it introduces errors and requires significant effort to reorganize, leading to inefficiency.

  3. 3

    What are 'near duplicates' and how do they manifest in data?

    Model answer

    Near duplicates are records that refer to the same entity but are spelled differently, e.g., 'Robert Smith', 'Bob Smith', and 'Rob Smith' all referring to the same person.

    Explanation

    Near duplicates occur when the same entity is entered with slight variations, leading to multiple records and potential misclassification.

  4. 4

    Provide an example from the content where a supplier name was misleading in classification.

    Model answer

    LinkedIn was classified as a restaurant because the description said 'restaurant', but it is actually a social networking site. Another example: Speed Courier was classified as equipment maintenance despite the name hinting at courier services.

    Explanation

    These examples illustrate the need to look at the full context of data rather than relying on single fields or assumptions.

  5. 5

    What is the risk of assuming you know what a entity is in the data? Give the 'Tinder Corporation' example.

    Model answer

    Assuming can lead to incorrect classification. Tinder Corporation initially seemed like the dating app, but it was actually a UK IT services company performing data cabling. Always verify with context.

    Explanation

    This example highlights that names can be misleading; looking at descriptions and other data fields provides the true context.

  6. 6

    List two consequences of dirty data mentioned in the content.

    Model answer

    Consequences include wasted money, costly rectification, affecting decision-making (e.g., bonuses, head count), violating privacy laws, causing reputational damage, and negatively impacting AI/ML models (garbage in, garbage out).

    Explanation

    Dirty data has serious implications for business operations, legal compliance, and strategic decisions.

  7. 7

    How can dirty data affect analytical outputs? Provide the example from the content.

    Model answer

    Dirty data can lead to incorrect analytics, such as unnormalized suppliers showing lower spend per supplier than actual. Normalizing reveals true relationships and values.

    Explanation

    Raw data with inconsistencies hides the real picture, so cleaning and normalization are necessary for accurate insights.

  8. 8

    Explain how dirty data impacts AI and machine learning models.

    Model answer

    AI learns from training data; if the training data is dirty, the model learns incorrect rules, leading to poor performance. Garbage in, garbage out.

    Explanation

    Clean data is fundamental for reliable AI/ML outcomes. Without it, models propagate errors.

  9. 9

    What are the legal risks of dirty data?

    Model answer

    Dirty data involving people's names and addresses can violate privacy laws, leading to legal action and reputational damage.

    Explanation

    Accurate personal data is required for compliance with regulations like GDPR. Errors can result in fines and loss of trust.

  10. 10

    Why is preventing dirty data better than fixing it later? Give a cost-related reason.

    Model answer

    Fixing dirty data later can cost two or three times more than cleaning it upfront, and projects may be abandoned after spending millions.

    Explanation

    Investing in data quality early saves time and money compared to dealing with failures post-implementation.

  11. 11

    What is the first step to ensuring data accuracy according to the content?

    Model answer

    There is no quick fix; you must review data yourself or have someone else review it. Get the organization involved and agree on common standards, processes, terms, and procedures.

    Explanation

    Data accuracy requires manual effort and organizational alignment. It cannot be fully automated.

  12. 12

    Why is it important to involve non-data people in data quality?

    Model answer

    People who input data daily need to understand the impact and consequences of errors on their colleagues and the business. Their input is crucial for maintaining quality.

    Explanation

    Data quality is everyone's responsibility, not just data teams. Training and awareness can reduce errors at the source.

  13. 13

    What does 'spot checking' data mean and why is it necessary?

    Model answer

    Spot checking means periodically reviewing a sample of data to ensure it remains correct. It is necessary because data that was correct last month may become incorrect due to changes or errors.

    Explanation

    Data degrades over time; regular checks catch errors early before they propagate.

  14. 14

    Explain the importance of establishing common standards for dates, units, and terms across an organization.

    Model answer

    Common standards prevent inconsistencies like multiple date formats (e.g., DD/MM/YYYY vs MM/DD/YYYY) and unit conflicts (miles vs kilometers). This makes data easier to change and analyze consistently.

    Explanation

    Standardization reduces ambiguity and errors when combining or comparing data from different sources.

  15. 15

    What is the COAT philosophy for data quality? Define each element.

    Model answer

    COAT stands for Consistent, Organized, Accurate, Trustworthy. Consistent: same standards and terms. Organized: categorized for easy retrieval. Accurate: correct data. Trustworthy: reliable for decision-making.

    Explanation

    The COAT philosophy provides a memorable framework for ensuring data quality.

  16. 16

    Provide an analogy for 'organized data' from the content.

    Model answer

    Think of a closet: if you throw a top in without hanging it, you can't find it and it gets wrinkled. If you hang it nicely with other tops by color, you can quickly grab it. Data is the same.

    Explanation

    Organized data is easier to find and use, saving time and reducing frustration.

  17. 17

    Why is 'trustworthy' data critical for a business?

    Model answer

    If teams cannot trust the data, they may not use it, and business decisions around jobs, staffing, and budgets rely on data. Trustworthy data ensures confidence in decisions.

    Explanation

    Without trust, data becomes useless, leading to poor decision-making or reliance on gut feelings.

  18. 18

    What practical tip does the content give for spot-checking data in Excel?

    Model answer

    Use a pivot table to aggregate data, remove subtotals, and scroll for anomalies. Arrange raw data and pivot table side by side using 'New Window' and 'Arrange All' to edit raw data and refresh.

    Explanation

    This method allows quick visual inspection and correction of outliers.

  19. 19

    How can you adapt the Excel pivot table method for large datasets?

    Model answer

    Chop up the data by categories (e.g., country, division, product group) and review each subset separately. Alternatively, use a tool like Omniscope that handles millions of rows and allows live editing.

    Explanation

    For scalability, break data into manageable chunks or use specialized tools that handle volume better.

  20. 20

    What is the role of context in data classification? Give an example involving Dell.

    Model answer

    Context means looking at the whole row, not just one field. Example: an invoice from Dell may have a 'delivery' charge line, but Dell is not a courier; the delivery is part of the laptop purchase. Without context, one might misclassify the delivery as a separate courier expense.

    Explanation

    Relying on keywords alone can lead to errors. Understanding the overall transaction is essential.

  21. 21

    Describe the Dirty Data Maturity Model and its five stages.

    Model answer

    Stages: Dirty (ignoring the problem), D-class (some rules but unstructured), Distributed (slightly organized with tools), Disorder (tools exist but not used regularly), Dirt-free (well-trained staff, automation, spot checks, difficult to maintain).

    Explanation

    The model helps organizations assess their data quality maturity and communicate the need for improvement.

  22. 22

    What analogy is used to describe the 'Dirty' stage of the maturity model?

    Model answer

    It is compared to turning your underwear inside out to wear for one more day – you know it's wrong but delay fixing it until a disaster happens.

    Explanation

    This analogy emphasizes the procrastination and eventual consequences of ignoring data quality.

  23. 23

    What is the hardest stage to achieve and maintain in the Dirty Data Maturity Model?

    Model answer

    Dirt-free is the hardest because it requires constant vigilance: well-trained staff, proper tools, automation, regular spot checks, and continuous maintenance.

    Explanation

    Even at the highest level, errors still occur, but systems are in place to catch them quickly.

  24. 24

    How can the Dirty Data Maturity Model be used within an organization?

    Model answer

    It serves as a visual tool to communicate the current state of data quality and the desired state, helping to justify funding and support for data initiatives.

    Explanation

    Non-data people can easily grasp the concept, making it easier to get buy-in.

  25. 25

    Define data normalization as described in the content.

    Model answer

    Normalization is grouping different versions of the same entity (e.g., 'IBM', 'I.B.M', 'IBM Inc') into a standard form in a new column, reducing duplicates and simplifying classification.

    Explanation

    It standardizes names, terms, or products to create a single representation for analysis.

  26. 26

    Why is normalization typically done before classification?

    Model answer

    Normalizing reduces the number of unique items. For example, normalizing 10,000 suppliers might result in 7,000 unique ones, saving time on classification (3,000 fewer to classify).

    Explanation

    By grouping variants, you classify once per group instead of per variant, increasing efficiency.

  27. 27

    Give an example of normalization for product groups from everyday life.

    Model answer

    For clothing, 'jackets', 'coats', and 'parkas' could all be normalized to 'jackets'; 'trousers', 'pants', 'cargo pants', 'safety pants' to 'pants'.

    Explanation

    Normalization at the product group level helps aggregate sales or usage figures accurately.

  28. 28

    What can happen if suppliers are not normalized? Use the 'Granger' example.

    Model answer

    Two different companies with the same name (Granger in US = parts supplier; Granger in UK = house builder) could be incorrectly merged, distorting spend analysis.

    Explanation

    Without context, normalization errors can occur. Always consider the full dataset to avoid merging distinct entities.

1 of 28
Question 1 of 28

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent