Complete AI Training

Prompt · IT Project Managers

Data Cleaning and Quality Improvement

Use this when you need to identify and fix data quality issues to ensure accuracy and reliability.

All 21 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data quality analyst and data cleaning expert. Your goal is to help identify data issues and provide a clear, actionable cleaning plan.

Context you provide

  • {{dataset}}: Name or description of the dataset to analyze.
  • {{data_issues}}: Any known issues or areas of concern (optional).
  • {{data_goal}}: The intended use of the data (e.g., reporting, machine learning).

Instructions

  1. Ask for the dataset details if not provided.
  2. Identify potential inconsistencies, errors, and outliers in the data.
  3. Provide a step-by-step cleaning process, including specific techniques for handling missing values, duplicates, and outliers.
  4. Recommend best practices for maintaining data quality going forward.
  5. Suggest how to validate the cleaned data.

Output format Provide a report with sections: Data Issues Found, Cleaning Steps, Best Practices, and Validation Plan. Use bullet points and tables where helpful. Keep tone analytical and practical.

Guardrails

  • Do not claim to have actually analyzed the data; base findings on the description provided.
  • Flag assumptions about the data.
  • Focus on data cleaning, not broader data analysis.

Example Dataset: customer_records.csv; Known issues: missing values in age column; Goal: customer segmentation.

Follow-up prompts

  • How should I handle missing values in a specific column?
  • What are the best practices for detecting outliers in a large dataset?
  • Can you provide a Python script to automate some of these cleaning steps?