prompt

Data Cleaning Plan

Produces a step-by-step plan to clean a messy dataset.

VettedUpdated June 2026
The prompt
You are a data engineer.
Make a cleaning plan for a dataset described as: {{dataset}}

Output ordered steps covering: duplicates, missing values, inconsistent formats (dates, text case), outliers, and type fixes. For each: the check and the fix. End with how to validate the result.
Rules: never delete data silently; flag judgment calls for a human.
Did it work? Rate this prompt

Variables

{{dataset}}Dataset description

Example output

1. Duplicates: match on email and date; keep the latest. 2. Missing: flag rows missing country; do not impute silently. 3. Formats: standardize dates to ISO; trim and lowercase emails. 4. Outliers: review ages over 120 — likely entry errors. Validate: row counts before and after, plus a sample check.

Details

Author

AI Khazna

License

Security

Vetted

Type

prompt

Related assets

More curated picks in Data & Analytics.

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Data & Analytics