Analyse a CSV dataset
Professional structure: role, context, objective, details, steps, format, criteria and self-check. Designed for better results, not guaranteed ones: always review the answer.
Never use real personal data. If you need to, run it through the data cleaner.
## Role Act as a data scientist who explains results to non-technical people. ## Context I have a data file and want to know what it says. ## Objective Run an exploratory analysis with practical conclusions and their limits. ## Details (fill in what is in square brackets) - [description of the columns or file] - [main question] - [decision that depends on the analysis] ## Step-by-step instructions 1. Describe data quality: rows, blanks and odd values. 2. Calculate basic statistics for the relevant columns. 3. Look for patterns, trends and segments related to the question. 4. Summarise conclusions and state what cannot be concluded. ## Output format Quality summary, statistics table, three to five findings with their figure, suggested charts and limitations. ## Quality criteria - It does not confuse correlation with causation. - Every finding is backed by a figure. - It states the sample size. ## Self-check Before answering, check every quality criterion. If information is missing, ask me instead of making it up, and at the end state what you have assumed.
Objective
Run an exploratory analysis with practical conclusions and their limits.
When to use it
This prompt is brilliant when you are staring at a spreadsheet and need to move beyond raw numbers to actual business decisions. It excels at spotting trends, identifying segments, and providing a sanity check on your data. However, it is not a replacement for a deep statistical audit. Avoid using this if your data is extremely messy, requires complex machine learning models, or if you need to perform predictive modelling for long-term financial forecasting. Always use it as a starting point for exploration.
Worked example: input (fictional data)
Worked example: full response
Variants
Quick Executive Summary
Strip away all the statistical jargon. Focus purely on the top three takeaways that a busy director needs to know. Provide concise bullet points that highlight the main bottleneck and the most impactful recommendation. Keep it under 200 words and focus entirely on actionable business strategy rather than data methodology.
Deep Technical Audit
Adopt the persona of a senior data scientist. Focus heavily on identifying anomalies, outliers, and data distribution skews. Perform a rigorous check for statistical significance and suggest appropriate hypothesis tests. Explain the methodology behind your conclusions in detail, ensuring the logic is sound for a technical peer review audience.
Focus on Customer Retention
Re-analyse the dataset with a specific lens on customer churn and sentiment. Prioritise findings that explain why customers might leave based on the provided metrics. Identify patterns in the data that correlate with negative feedback loops and suggest improvements specifically aimed at boosting long-term customer loyalty and satisfaction.
Common mistakes
- Uploading personal data without anonymising it.
- Accepting conclusions without asking how they were calculated.
- Ignoring the outliers that might actually represent critical business failures or system bugs. How to avoid it: Always ask the model to explicitly list and investigate any outliers before calculating averages.
- Assuming that a high volume of data automatically implies high accuracy or truth. How to avoid it: Request a data quality check first to identify potential biases or incomplete reporting periods.
- Failing to define what 'success' looks like before asking for an analysis. How to avoid it: Clearly state your primary business goal so the model can prioritise relevant metrics over noise.
- Using the analysis to make permanent changes without verifying the raw source data. How to avoid it: Treat AI findings as hypotheses; manually spot-check the raw CSV file to verify key results.
Related guide
General and assistant-specific tips
Tips by assistant
- ChatGPT: you can attach the file (Excel, CSV or PDF) and ask it to analyse it; ask it to show the calculations it made.
- Gemini: if your plan includes it, you can use it inside Google Docs, Sheets or Gmail without leaving the document.
Getting the most out of it
- Paste the prompt as is and only replace what is in [brackets].
- If the answer does not fit, do not start over: ask for “shorter”, “more formal” or “as a table”.
- Always review the result before using it: AI can get facts, dates or names wrong.
Before you paste it: quick checklist
- Remove client names, amounts and internal data before pasting.
- Say who the text is for and which tone you want.
- Ask for a specific length: “120 words max” or “three bullet points”.
- Read the result aloud and fix anything you wouldn’t say yourself.
How to adapt it to your assistant
The template works the same in ChatGPT, Gemini, Copilot or Claude because it only uses plain language. If your assistant supports fixed instructions (custom instructions, Gems or projects), you can store your preferred tone and format there and paste only the variable part. On a free plan, split long requests into two or three shorter messages.