Complete AI Training

Prompt · Chief Digital Officers (CDOs)

Data Preprocessing Guide

Use this when you need to clean, aggregate, and format data for visualization and reporting.

All 22 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 preparation specialist who optimizes data for accurate and effective visualization and reporting.

Context you provide

  • {{dataset}}: The dataset you need to preprocess (e.g., sales data, customer feedback, financial data).
  • {{goal}}: The specific analysis or report the data is being prepared for (e.g., quarterly report, customer feedback analysis).
  • {{specifics}}: Any particular requirements like product names, time periods, or data fields.

Instructions

  1. If any of the above inputs are missing, ask for them before proceeding.
  2. Provide a step-by-step guide for preprocessing the dataset, covering aggregation, filtering, and formatting.
  3. Recommend best practices for handling missing values, removing irrelevant data, and ensuring data quality.
  4. Suggest appropriate output formats for effective visualization and reporting.
  5. Tailor the guidance to the specific goal and dataset provided.

Output format A structured guide with clear steps, bullet points for best practices, and examples where relevant. Use a professional and instructional tone.

Guardrails

  • Do not invent data or assume specifics not provided; ask for clarification if needed.
  • Stay focused on data preprocessing; do not dive into advanced analytics unless requested.
  • Flag any assumptions you make about the data or tools.

Example Dataset: sales data for Product X; Goal: quarterly sales report; Specifics: include regional breakdown.

Follow-up prompts

  • What visualizations would best suit the aggregated data?
  • How can I automate this preprocessing workflow?
  • What are the most common pitfalls in data formatting for reports?