Work
One real dataset, shown end to end
The first case study is a real cleaning job on a real file. The other two are
sample data, included to show the kind of work involved.
Gene annotation export
Real data
92,524 rows
CSV → CSV
Excerpt: 10 rows
Columns shown: 7 of 15
Excerpt of 10 rows from a 92,524-row file. Every cell above is real output — nothing
in this table was invented for the site. Where an enzyme name contained an unquoted
comma, the text after it sits in the unnamed column to its right: the name arrived
split across two columns, not lost.
What was wrong
- Enzyme names contain unquoted commas, so everything after the first comma was pushed into the next, unnamed column.
Beta-1 and 4-mannosyl-glycoprotein 4-beta-N-acetylglucosaminyltransferase arrived as two cells in two different columns. Over 200 rows are affected.
- Missing values were the literal text
NA, sitting in the same columns as real text.
EValue mixed scientific notation with bare zeros — 20,529 rows held just 0.
- Header typos (
GoTpe, Gocatg) and three empty trailing columns.
What I did
- Rejoined each split name across the two columns on the comma that separated them, restoring the full enzyme names.
- Turned
NA into genuinely empty cells and added has_go_annotation / has_ec_annotation so the gaps are explicit rather than disguised as text.
- Converted
EValue to a real number: 8.70E-75 → 8.7e-75, bare 0 → 0.0.
- Fixed the headers, dropped the phantom columns, and set
id, Length and EValue to proper numeric types.
Customer list with duplicates
Sample data
1,842 rows → 1,609 rows
XLSX → XLSX
Illustrative example
Sample data — three spellings of one customer collapsed into one row, dates unified, spend made numeric.
Three regional files merged
Sample data
3 files → 1 file
XLSX → XLSX
Illustrative example
Before — 3 separate sheets
Sample data — matching column names, currency stripped to plain numbers, region labels normalised.