Data Cleaning Exercises

Dataset pack

Ledger entries with directions

Ledger lines where the direction column says debit or credit.

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 The sign lives in another column.

ledger 19 rows × 3 columns

Download ledger.csv (Pro)

Data dictionary

id
Unique entry ID.
direction
debit or credit.
amount
Positive amount as text.

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.