You’re previewing a free lesson. Get the full course
Understand and clean data
35 min
Your project
Analyze a fictional café campaign dataset with a duplicate row and a missing value. Clean without inventing data, calculate counts and rates, choose an honest chart and write a bounded recommendation. The sample does not establish sales, causation or typical marketing performance.
Approved practice facts
- Columns: postId, impressions, clicks.
- Duplicate post C03 appears twice; keep one after verifying identical values.
- C05 has missing impressions; preserve clicks but exclude it from rate calculations.
- C06 has zero impressions and zero clicks; its click rate is undefined.
- Rate = clicks ÷ impressions × 100 for positive known impressions.
- Do not average post rates to calculate an aggregate campaign rate.
Identify what each row represents, field types, missing values, and duplicates. Preserve the original. Document changes rather than silently deleting inconvenient rows.
Build this part
Identify duplicate, missing and zero-denominator rows. State what each decision preserves.
Use the supplied source table in your workspace. Draft your own response before opening the worked example. Save an actual revision and explain its effect; the next lesson uses the same project.
Acceptance check: A missing value is not zero, and a zero denominator does not produce a 0% rate.
Your turn
Identify duplicate, missing and zero-denominator rows. State what each decision preserves.
Review before moving on: A missing value is not zero, and a zero denominator does not produce a 0% rate.
Record your work in the course workbook. Keep the original, your revision, and a sentence explaining what improved.