Data Cleaning Exercises

Dataset pack

Dairy stock batches

Stock batches with expiry dates, for a sellable-stock report as of 30 June 2026.

Fictional data · UTF-8 CSV, every value quoted so padding and leading zeros survive; empty fields are missing values · free for personal and classroom practice · practise it in Sellable stock excludes expired batches.

batches 16 rows × 4 columns

Download batches.csv (Pro)

Data dictionary

id
Unique batch ID.
sku
SKU as typed.
units
Units in the batch.
expires
Expiry date, YYYY-MM-DD.

Values are shown in quotes so leading and trailing spaces are visible. ∅ means the cell is missing. Exercises are also graded on hidden datasets that are never published.