# AI Data Analysis — practice workbook

Clean small datasets, check calculations, and explain findings honestly.

Tools: Spreadsheets, AI assistant

## Project brief

a café performance analysis

## Practice brief and source data

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.

- 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.

```csv
postId,impressions,clicks
C01,1000,20
C02,800,24
C03,2000,30
C03,2000,30
C04,500,15
C05,,7
C06,0,0
```

## 1. Understand and clean data

About 35 minutes including guided practice; allow additional time for external-tool work.

## 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.

### Worked example

Remove one identical C03 duplicate. Keep C05’s seven clicks in a separate missing-denominator note, not a fabricated rate. C06 rate is undefined. Eligible positive-denominator rows: C01–C04.

### Practice

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.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 2. Calculate and verify

About 35 minutes including guided practice; allow additional time for external-tool work.

Define each metric and denominator. Check a sample manually and handle division by zero. AI-suggested formulas require testing.

### Build this part

Calculate eligible totals and weighted click rate. Check one row manually.

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:** The numerator and denominator cover the same records.

### Worked example

Eligible impressions: 1000+800+2000+500=4300. Eligible clicks: 20+24+30+15=89. Rate: 89/4300×100≈2.07%. C02: 24/800×100=3%. All unique known clicks total 96 including C05, but 96/4300 mixes incompatible coverage.

### Practice

Calculate eligible totals and weighted click rate. Check one row manually.

**Review before moving on:** The numerator and denominator cover the same records.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 3. Choose a truthful chart

About 35 minutes including guided practice; allow additional time for external-tool work.

Use a chart matching the comparison. Label units and categories. Avoid distorted axes and unnecessary decoration.

### Build this part

Compare count and rate views and explain the difference.

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:** Chart labels, units and exclusions are visible.

### Worked example

C03 has 30 clicks, the highest count. C02 and C04 each have 3%, the highest eligible rate. Use zero-based bars for counts and label undefined rates. A high rate on fewer impressions is not automatically the most valuable result.

### Practice

Compare count and rate views and explain the difference.

**Review before moving on:** Chart labels, units and exclusions are visible.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 4. Explain limits and next steps

About 35 minutes including guided practice; allow additional time for external-tool work.

Separate observation from explanation. Mention sample size, missing data, and plausible alternatives. Recommend a measured next test.

### Build this part

Write one observation, one limitation and a testable next step.

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:** Do not convert an uncontrolled comparison into a causal or revenue claim.

### Worked example

Observation: C03 generated the most sample clicks; C02/C04 had higher rates. Limitation: posts differ in audience, timing and content, and no sales data exists. Next: compare two messages under more similar distribution and measure the same action.

### Practice

Write one observation, one limitation and a testable next step.

**Review before moving on:** Do not convert an uncontrolled comparison into a causal or revenue claim.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## 5. Revision, portfolio, and professional handoff

About 35 minutes including guided practice; allow additional time for external-tool work.

Review the deliverables against the brief, then simulate a client requesting one change within scope and one extra deliverable. Make the included revision; explain the scope and timing of the extra work. Keep original and revised versions.

Package the work with instructions, sources, and limitations. Test links and remove sensitive data. Label this as a concept project. Describe your contribution and how AI helped without claiming unsupported results.

### Build this part

Deliver cleaned table, calculation notes, chart, memo and a revised conclusion after discovering the duplicate.

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:** Someone else can reproduce the result from the raw rows.

### Transfer challenge

If C05 later receives 700 verified impressions, recompute the eligible totals and rate. Explain how the cleaning log changes.

### Worked example

Initial unclean totals double-counted C03. Corrected rate uses 89 clicks and 4300 impressions. The handoff identifies excluded rows, definitions and the absence of sales evidence.

### Practice

Deliver cleaned table, calculation notes, chart, memo and a revised conclusion after discovering the duplicate.

**Review before moving on:** Someone else can reproduce the result from the raw rows.

First attempt:

Revision:

What I checked / sources:

What changed and why:

## Review rubric

Pass mark: 24/30 (80%). A human reviewer evaluates the work; completed fields are not a quality score.
### Complete, usable project — 10 points

9–10: all required artifacts form a coherent a café performance analysis; inputs and constraints match the brief. 5–8: usable work with specific omissions. 0–4: disconnected drafts or missing core deliverables.

### Evidence and course-specific quality — 10 points

9–10: the published stage checks are demonstrated in actual outputs, including: Do not convert an uncontrolled comparison into a causal or revenue claim. 5–8: minor documented gaps. 1–4: major untested assumptions. 0: fabricated evidence, unsupported factual claims or misrepresented deliverable type.

### Revision and transfer — 5 points

5: before/after revision explains an observable improvement and answers the transfer challenge with changed assumptions. 3–4: sound reasoning with one gap. 0–2: cosmetic edits, copied example without adaptation or unexplained decisions.

### Independent handoff — 5 points

5: editable sources, usable exports, source/permission log, tested access and a concise readme; simulation and pending external-tool checks clearly labeled. 3–4: small handoff gaps. 0–2: inaccessible files or claims of work not actually completed.

## Final delivery checklist

- [ ] A cleaned dataset with change log
- [ ] Three verified calculations and a chart
- [ ] A short findings memo
- [ ] Original and revised versions
- [ ] Sources, permissions and verification notes
- [ ] Sharing tested in a signed-out window
- [ ] Labeled as a concept project

## Further learning

https://www.canva.com/design-school/ · https://docs.n8n.io/ · https://developer.mozilla.org/

External tools may require accounts or paid features. Use the manual practice alternative when a feature is unavailable. No purchase is required to complete the written exercises.
