
Make a Data-Cleaning Log That Preserves Your ReasoningData Analytics · INSIGHTCleaning data is a sequence of decisions, not just a command that makes a spreadsheet look tidy. A cleaning log records what changed, why it changed, and how the decision affects later analysis.
Keep the original intact
For a fictional shop’s order export, preserve the raw file and work on a copy or reproducible transformation. Record the file version and receipt date. If an unexpected result appears later, you need a way to compare it with the original.
Describe problems before fixing them
Suppose the region field contains “East”, “east”, and “E”. The first two may be casing variants; the third needs confirmation. Do not automatically merge all three because they look similar. Write the proposed mapping and the evidence supporting it.
Separate missing values from zeros, and invalid dates from blank dates. These conditions have different meanings. A replacement value should reflect a defensible rule rather than simply satisfy a charting tool.
Record the effect of each step
A useful log includes issue, rule, affected rows, before-and-after checks, and unresolved questions. If you exclude records, explain why and retain their identifiers in a review file where appropriate. Do not expose personal information in a public portfolio.
Test whether the process can be repeated
Run the transformations from the original file again. The same inputs should produce the same cleaned output. Compare row counts and totals at important checkpoints.
Finish with a short note about decisions that could change the conclusion. For example, unresolved region codes may prevent a reliable regional comparison. This makes the analysis more transparent and tells a decision-maker where additional data work would be valuable.
Created with AI assistance for JobJet. Illustrative exercises use fictional data; no employer outcomes are promised.