Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Cleans, normalizes, and documents raw datasets for analysis or ML, covering missing values, deduplication, outliers, types, and encoding.
64% 95%+32 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 14 of 22 without it.
3 of 3 safety checks passed
Not used yet
Dataset cleaning transforms raw, messy data into a consistent, analysis-ready form. Every operation must be documented: what was changed, why, and how many rows/columns were affected. This is not a one-shot script — it's a reproducible pipeline.
Use this skill when:
dropna().Do not use for:
exploratory-data-analysis first.dataset-splitting.dataset-versioning.Choose and document ONE strategy per column:
| Strategy | When to use | Risk | ||-------------|------| | Drop rows | < 5% missing, rows are independent | Loss of rare cases | | Drop column | > 40% missing and not critical | Loss of signal | | Mean/median imputation | Continuous, symmetric distribution | Underestimates variance | | Mode imputation | Categorical, dominant class clear | Over-represents majority | | Constant fill | Domain-knowledge default exists | May introduce bias | | Model-based imputation | High missingness, strong predictors | Leakage if not careful | | Indicator flag | Missingness itself is informative | Adds dimensionality |
import pandas as pd
import numpy as np
# NEVER do this silently:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.