201 prompts · page 1 of 5

Data Analysis Prompts

Prompts for querying, cleaning, summarizing, and charting data. Describe your dataset and the question, and get usable steps back.

Data AnalysisPlan cleaning
Build a data cleaning plan from a messy dataset

You are a meticulous data analyst. Here is a sample of my raw dataset (header row plus a few rows): {{sample_rows}} Context: this data describes {{data_description}} and I plan to...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#cleaning#data-quality#planning
View
Data AnalysisWrite cleaning code
Generate pandas code to clean a dataset

You are a senior Python data engineer. Write clean, reproducible pandas code to clean my dataset. Columns and their meaning: {{column_spec}} Known issues to handle: {{known_issues}...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#pandas#python#cleaning
View
Data AnalysisPlan EDA
Run an exploratory data analysis walkthrough

Act as a data analyst guiding me through exploratory data analysis. Dataset summary: {{dataset_summary}} My goal / the question I care about: {{analysis_goal}} Produce an EDA plan...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#eda#exploration#planning
View
Data AnalysisWrite SQL
Write a SQL query from a plain-English question

You are a SQL expert writing for a {{sql_dialect}} database. Here is the relevant schema (tables, columns, types, keys): {{schema}} Question to answer: {{question}} Rules: - Use on...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#sql#querying#database
View
Data AnalysisDebug SQL
Explain and debug an existing SQL query

You are a SQL reviewer. Explain and debug the query below. Dialect: {{sql_dialect}} What I expected it to return: {{expected_result}} What is actually wrong (if known): {{symptom}}...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#sql#debugging#performance
View
Data AnalysisTune SQL
Optimize a slow SQL query

You are a database performance specialist for {{sql_dialect}}. Slow query: {{query}} Context: - Approximate row counts of the main tables: {{table_sizes}} - Existing indexes: {{ind...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#sql#performance#optimization
View
Data AnalysisSummarize stats
Summarize a dataset with key statistics

You are a data analyst. I will paste a dataset (CSV or table). Produce a clear statistical summary a non-technical reader can follow. For each numeric column: count, missing %, min...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#statistics#summary#profiling
View
Data AnalysisFind insights
Find insights and a story in your results

You are a data storyteller helping me brief {{audience}}. Here are my results (tables, metrics, or chart descriptions): {{results}} Business context: {{context}} Produce: 1. The si...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#insights#storytelling#reporting
View
Data AnalysisPick chart
Choose the right chart for your data

You are a data visualization expert. I want to show: {{message_to_convey}} The variables involved: {{variables_involved}} My audience: {{audience}} Where it will be shown: {{medium...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#visualization#charts#design
View
Data AnalysisWrite chart code
Generate Python chart code from a description

Write {{library}} code in Python to create this chart. Data source: a DataFrame named df with these columns: {{columns}} Chart I want: {{chart_description}} Requirements: - Correct...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#visualization#python#matplotlib
View
Data AnalysisWrite formula
Build an Excel or Google Sheets formula

You are a spreadsheet formula expert for {{spreadsheet_tool}}. My data layout: {{layout}} What I want to calculate: {{calculation}} Return: 1. The formula, ready to paste, using th...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#spreadsheet#excel#formulas
View
Data AnalysisExplain formula
Explain a complex spreadsheet formula

Explain this {{spreadsheet_tool}} formula in plain English. Formula: {{formula}} Context: it sits in cell {{cell}} and the surrounding data is {{data_context}}. Do this: 1. Break t...

Claude Opus 4.xGPT-5Gemini 2.5 Flash
#spreadsheet#formulas#explain
View
Data AnalysisDesign pivot
Design a pivot table to answer a question

You are a spreadsheet analyst. Help me build a pivot table. My source columns: {{columns}} The question I want the pivot to answer: {{question}} Tool: {{spreadsheet_tool}} Tell me:...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#spreadsheet#pivot-table#reporting
View
Data AnalysisRead A/B test
Interpret an A/B test result

You are an experimentation analyst. Interpret this A/B test honestly. Metric tested: {{metric}} Control: {{control_numbers}} Variant: {{variant_numbers}} Test duration and sample s...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#statistics#ab-testing#experiments
View
Data AnalysisPick stat test
Choose the right statistical test

You are a statistics tutor. Help me pick the correct statistical test. My question: {{question}} The variables and their types (continuous, categorical, paired, etc.): {{variables}...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#statistics#hypothesis-testing#methodology
View
Data AnalysisRead regression
Interpret regression output

You are a statistician. Interpret this regression output for a business reader. Model type: {{model_type}} Outcome variable: {{outcome}} Output (coefficients, standard errors, p-va...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#statistics#regression#interpretation
View
Data AnalysisFrame ML problem
Frame a business problem as a machine learning task

You are an applied ML lead. Help me frame this as a machine learning problem. Business goal: {{business_goal}} Data I have available: {{available_data}} How a prediction would be u...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#machine-learning#framing#modeling
View
Data AnalysisEngineer features
Brainstorm feature engineering ideas

You are a feature engineering expert. Suggest features to improve a model that predicts {{target}}. Raw columns available: {{columns}} Domain context: {{domain_context}} For each s...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#machine-learning#feature-engineering#modeling
View
Data AnalysisPlan forecast
Plan a time series forecast

You are a forecasting analyst. Help me forecast {{metric}}. History available: {{history_description}} Granularity and horizon I need: {{granularity_and_horizon}} Known drivers, se...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#time-series#forecasting#modeling
View
Data AnalysisDetect outliers
Find and explain outliers

You are a data analyst hunting for anomalies. Here is the data or distribution for the column {{column}}: {{data}} Context: this column represents {{column_meaning}}. Do this: 1. I...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#outliers#anomaly-detection#data-quality
View
Data AnalysisSpec dashboard
Spec a dashboard for a stakeholder

You are a BI designer. Spec a dashboard for {{audience}} whose main job is {{audience_job}}. The key questions they need answered: {{key_questions}} Data available: {{available_dat...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#dashboards#bi#design
View
Data AnalysisDefine metric
Define a metric or KPI precisely

You are an analytics lead writing a metric definition. Metric name: {{metric_name}} What the team wants it to capture: {{intent}} Data sources and relevant fields: {{data_sources}}...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#metrics#kpi#definition
View
Data AnalysisPlan cohorts
Set up a cohort and retention analysis

You are a product analyst. Help me run a cohort analysis for {{product_or_metric}}. Data available (events, users, timestamps): {{data_description}} What I want to learn: {{questio...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#cohorts#retention#product-analytics
View
Data AnalysisAnalyze funnel
Analyze a conversion funnel

You are a growth analyst. Help me analyze this conversion funnel. Funnel steps in order: {{steps}} Counts or rates at each step: {{step_numbers}} Context (product, traffic source,...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#funnel#conversion#product-analytics
View
Data AnalysisSegment data
Segment customers from their data

You are a customer analytics expert. Help me segment customers. Available attributes and behaviors: {{attributes}} The decision the segments will drive: {{business_use}} Provide: 1...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#segmentation#customers#clustering
View
Data AnalysisRead correlations
Interpret a correlation matrix

You are a careful data analyst. Interpret this correlation matrix. Variables and what they mean: {{variable_meanings}} The matrix: {{matrix}} Do this: 1. List the strongest positiv...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#statistics#correlation#interpretation
View
Data AnalysisScope analysis
Turn a vague request into an analysis plan

You are a senior analyst who scopes work before touching data. The request as I received it: {{request}} Data I can access: {{available_data}} Who is asking and what they will deci...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#scoping#planning#stakeholders
View
Data AnalysisDocument data
Write a data dictionary for a table

You are a data steward. Write a data dictionary for this table. Table name: {{table_name}} Sample rows and any notes I have: {{sample_and_notes}} For every column, infer and docume...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#documentation#data-dictionary#metadata
View
Data AnalysisAnalyze survey
Analyze open-ended survey responses

You are a research analyst. Analyze these open-ended survey responses about {{survey_topic}}. Responses: {{responses}} Do this: 1. Group responses into clear themes and give each a...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#survey#text-analysis#qualitative
View
Data AnalysisReview analysis
Red-team your own analysis before sharing

You are a skeptical peer reviewer. Pressure-test my analysis before I present it to {{audience}}. My analysis, method, and conclusions: {{analysis}} The data and any caveats: {{dat...

Claude Opus 4.xGPT-5Gemini 2.5 Pro
#review#critical-thinking#quality
View
Data AnalysisGenerate SQL
Write a SQL query from a plain-English question

You are a senior SQL developer working with {{database}}. Here are the relevant tables and columns: {{schema}} I want to answer this question: {{question}} Write a single SQL query...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#sql#query#database#beginner
View
Data AnalysisExplain SQL
Explain what an existing SQL query does

You are a patient data engineer explaining SQL to a junior analyst. Here is a query I need to understand: {{query}} Do the following: 1. Give a one-sentence summary of what the que...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#sql#explain#learning#query
View
Data AnalysisOptimize SQL
Find why a SQL query is slow and speed it up

You are a database performance specialist for {{database}}. This query is slow: {{query}} Context about the data: {{data_context}} Do the following: 1. Identify the most likely bot...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#sql#performance#optimization#index
View
Data AnalysisFix SQL error
Debug a SQL query that throws an error

You are a SQL debugging expert for {{database}}. My query: {{query}} The error message: {{error}} Do the following: 1. Explain in plain language what the error actually means. 2. I...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#sql#debugging#error#fix
View
Data AnalysisWrite join
Build the right join across several tables

You are a SQL mentor helping me join tables correctly. Tables and their key columns: {{tables}} I want to produce a result that has: {{desired_result}} Do the following: 1. Recomme...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#sql#join#tables#beginner
View
Data AnalysisWindow functions
Use a window function for running totals and ranks

You are a SQL expert specializing in window functions for {{database}}. My table: {{schema}} I want to calculate: {{calculation}} Do the following: 1. Write the query using the app...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#sql#window-function#ranking#intermediate
View
Data AnalysisTranslate SQL
Convert a query between SQL dialects

You are an expert in multiple SQL dialects. This query is written for {{source_dialect}}: {{query}} Rewrite it so it runs correctly on {{target_dialect}}. Do the following: 1. Prov...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#sql#dialect#migration#conversion
View
Data AnalysisPlan EDA
Make an exploratory data analysis plan for a new dataset

You are a data analyst starting EDA on a new dataset. Dataset description: {{dataset_description}} Columns and types: {{columns}} Goal of the analysis: {{goal}} Produce a step-by-s...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#eda#exploration#planning#dataset
View
Data AnalysisRead stats
Interpret a table of summary statistics

You are a statistics tutor who explains things clearly. Here is a summary statistics table: {{stats_table}} Context about the data: {{context}} Do the following: 1. Explain what ea...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#statistics#eda#interpretation#summary
View
Data AnalysisClean data
Build a cleaning checklist for a messy dataset

You are a data cleaning specialist. Here is a sample of my messy data and its problems: {{data_sample}} Tool I will clean it in: {{tool}} Produce a cleaning checklist that covers:...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#data-cleaning#preprocessing#checklist#quality
View
Data AnalysisMissing data
Decide how to handle missing values in a column

You are a data analyst advising on missing data. Column: {{column_name}} What it represents: {{column_meaning}} Share of rows missing: {{missing_percent}} How I plan to use this da...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#data-cleaning#missing-values#decision#quality
View
Data AnalysisHandle outliers
Detect and decide what to do with outliers

You are a data analyst handling outliers. Column and what it measures: {{column_description}} A few of the extreme values I see: {{extreme_values}} Analysis goal: {{goal}} Do the f...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#outliers#data-cleaning#statistics#quality
View
Data AnalysisPick chart
Choose the right chart for your data and message

You are a data visualization expert. The data I want to show: {{data_description}} The single point I want the viewer to take away: {{message}} Audience: {{audience}} Do the follow...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#visualization#charts#design#communication
View
Data AnalysisReview chart
Critique a chart and suggest improvements

You are a data visualization reviewer. Here is a description of my chart (or paste the image): {{chart_description}} What it is meant to communicate: {{intended_message}} Review it...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#visualization#review#charts#design
View
Data AnalysisSummarize data
Summarize a dataset in plain English for non-analysts

You are a data translator who explains data to non-technical people. Dataset summary or sample: {{data}} Who will read this: {{audience}} Write a plain-English summary that covers:...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#summary#communication#non-technical#eda
View
Data AnalysisFind insights
Turn analysis results into actionable insights

You are a senior analyst who turns numbers into decisions. Here are my analysis results: {{results}} Business context and what we care about: {{context}} Do the following: 1. State...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#insights#communication#decision#reporting
View
Data AnalysisWrite formula
Build an Excel or Google Sheets formula

You are a spreadsheet formula expert for {{tool}}. My data layout: {{layout}} What I want the formula to do: {{goal}} Do the following: 1. Give the exact formula to paste into a ce...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#spreadsheet#excel#formula#beginner
View
Data AnalysisFix formula
Fix a spreadsheet formula that returns an error

You are a spreadsheet troubleshooting expert for {{tool}}. My formula: {{formula}} The error or wrong result I get: {{problem}} What I expected to happen: {{expected}} Do the follo...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#spreadsheet#formula#debugging#excel
View
Data AnalysisPivot table
Plan a pivot table to answer a question

You are an analyst who builds clear pivot tables in {{tool}}. My source columns: {{columns}} The question I want the pivot to answer: {{question}} Do the following: 1. Tell me exac...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#spreadsheet#pivot-table#summary#excel
View
Data AnalysisWrite pandas
Write pandas code for a data task

You are a Python data analyst who writes clean pandas code. My DataFrame columns and dtypes: {{columns}} What I want to do: {{task}} Do the following: 1. Write the pandas code, ass...

Claude Opus 4.8GPT-5Gemini 2.5 Pro
#pandas#python#code#transformation
View

Browse other categories