Analyzing Data in Claude
Turn a messy spreadsheet into clear answers. Learn how to prepare your data, ask good questions, understand what Claude is really doing with your numbers, and check the results before you trust them.
Almost everyone has met a spreadsheet that felt too big to understand. Rows and rows of numbers sit in front of you, and somewhere inside them is the answer to a simple question: Are sales going up? Which product is losing money? What are customers complaining about? Finding that answer used to need special software, a lot of patience, or a colleague who loved formulas.
An AI assistant such as Claude changes this. You can attach a file or paste a table, ask a question in ordinary words, and get back a plain-language answer, a summary table, or even a chart. It can also explain what the numbers mean, point out strange values, and suggest what to look at next. For many people, this turns data from something scary into something they can have a conversation with.
But there is an important catch. An assistant that writes smooth, confident sentences can also write a smooth, confident mistake. Good data analysis with Claude is therefore a partnership: Claude does the heavy lifting and the explaining, and you supply the questions, the context, and the checking. This guide shows you how to do your half well.
The guide assumes you know nothing about data analysis. Every new word is explained the first time it appears. We start with the big picture, look at what Claude can and cannot do with numbers, follow your file on its journey from upload to insight, and then walk through preparing, exploring, cleaning, summarizing, charting, and verifying. There is no code anywhere in this guide, and you do not need a technical background. One honest note: features such as file upload, code running, and chart creation depend on the product and plan you use, and they change over time, so check Claude’s official help center for what is available to you.
TThe Big Picture: What Does “Analyzing Data” Mean?
Before the tools, let us agree on what we are actually doing.
Data is simply recorded facts: numbers, dates, names, categories, or comments, usually arranged in a table. Analyzing data means asking questions of those facts and finding answers that are useful. How much did we sell last month? Which region is growing fastest? What do customers mention most often? Each of these is a question, and the data holds the evidence.
Claude is an AI assistant made by a company called Anthropic. It is built on a large language model, which is a program trained on a huge amount of text so that it can read and write human language. When you give it a table of data, it reads the table as text, understands what the columns mean from their labels, and answers your question in language. In many Claude products, it can also use extra tools, such as running a small program to calculate exactly or draw a chart.
Imagine you hand a shoebox of receipts to a friendly accountant. You do not want to sort the receipts yourself. You ask, “Where did most of my money go this year?” The accountant sorts, adds, compares, and then answers in plain words, perhaps showing a small summary table. Claude plays a similar role for your data. You still need to know what you are trying to learn, and you still should double-check the total on anything important.
What Analysis Usually Includes
Understand
Learn what is in the data: the columns, the time period, and the size of the table.
Clean
Fix duplicates, inconsistent labels, and missing values so the numbers can be trusted.
Explore and summarize
Calculate totals, averages, groups, and trends to see what the data shows.
Communicate and check
Turn findings into a chart or a short report, and verify the key numbers.
Always begin with a question, not a file. “I want to know which product category lost sales in the last quarter” leads to a much better analysis than “analyze this”.
AA Short History: From Paper Ledgers to AI Assistants
People have always needed help understanding numbers, and the tools keep getting friendlier.
For centuries, data lived in paper ledgers, and analysis meant adding columns by hand. The electronic spreadsheet changed everything. Suddenly, anyone could type numbers into a grid and let formulas do the arithmetic. Spreadsheets are still the most common data tool in the world.
As organizations collected more data, specialized tools appeared: databases to store large tables, dashboards to show charts of key numbers, and statistical software for deeper questions. These tools are powerful, but they often need training. Many people had data but could not easily ask it questions.
Large language models added a new layer. Because they were trained on language, you can ask your question in a sentence. The assistant translates between your words and the numbers. Combined with the ability to run calculations, this makes basic analysis accessible to people who have never written a formula.
Paper ledgers
Numbers were written and added by hand, which was slow and prone to errors.
Electronic spreadsheets
Formulas did the arithmetic, and ordinary people could build their own calculations.
Databases and dashboards
Bigger data and live charts arrived, but they often required specialist skills.
AI assistants
You ask questions in plain language and receive explanations, tables, and charts.
Think of maps. First came paper maps that you had to read yourself, then electronic maps that showed your position, and now voice guidance that simply tells you where to turn. Each step made the same information easier to use. Data analysis has gone through the same journey, from reading tables to asking questions.
AI assistants did not replace spreadsheets or specialist tools. They sit alongside them. Many people use Claude to explore and explain, and then use a spreadsheet for the final, formal version.
CCore Concepts: The Words You Need
Fourteen short definitions that make the rest of this guide easy to follow.
Dataset
A collection of data about one subject, usually one table, such as a month of sales or a list of survey answers.
Row and record
One line of the table, describing one item, such as a single sale or a single customer.
Column and field
One type of information in the table, such as date, price, or region. The column name at the top is the header.
Missing value
A blank cell where information is absent, such as a customer who did not give their age.
Duplicate
The same record appearing more than once, which can make totals too high.
Outlier
A value far from the others, such as a sale of one million in a table where most sales are around one hundred.
Aggregate
A summary of many rows into one number, such as a total, an average, or a count.
Mean (average)
The sum of the values divided by how many there are. It is sensitive to extreme values.
Median
The middle value when the numbers are sorted. It is less affected by extreme values.
Trend
The general direction of a number over time, such as rising, falling, or steady.
Correlation
A tendency for two things to move together. It does not prove that one causes the other.
Token
A small piece of text that the model reads and writes. Data you paste is split into tokens too.
Context window
The amount of text the model can keep in view at once. A very large table may not fit.
Hallucination
When an AI states something false as if it were true, such as an invented number or a pattern that is not in the data.
Think of a class register. Each row is one student, and each column is one fact about them: name, age, attendance. A missing value is an empty box. A duplicate is a student written down twice. A total is the number of students present today. Almost every data idea in this guide is a version of reading the register.
The mean can mislead. If four people earn modest salaries and one earns a huge amount, the mean looks high, but it describes nobody. We return to this in a later chapter.
WWhat Claude Can and Cannot Do With Data
Knowing the strengths and limits early saves you from both disappointment and mistakes.
Claude is very good at tasks that involve reading, understanding, and explaining. It is more careful territory when it comes to large volumes of exact arithmetic without a calculation tool. Here is an honest picture of both sides.
Where Claude is strong
- Understanding what columns mean from their headers
- Summarizing a table in plain language
- Suggesting good questions to ask of the data
- Spotting odd values and inconsistent labels
- Explaining statistical ideas in simple words
- Writing spreadsheet formulas and explaining them
- Finding themes in written comments
- Drafting reports and presentations from findings
Where you must be careful
- Exact arithmetic on many numbers without a calculation tool
- Very large tables that do not fit in the context window
- Claims about cause when data only shows correlation
- Data it cannot see, such as columns you did not share
- Rules of your business that you did not explain
- Confident statements that sound right but are not checked
Reading Versus Calculating
This distinction is the key to using Claude well with data. When Claude reads a table and answers from it, it is working with language patterns, and it can make arithmetic slips, especially with long columns of numbers. When Claude calculates using a tool, such as a built-in code-running feature in products that offer it, the arithmetic is done by a program, and the result is exact. We explore this difference in detail in the next chapters.
Imagine two ways of answering “what is 48 times 37?” One is to look at the numbers and say what feels right. The other is to pick up a calculator. A clever person will often be close with the first method, but only the calculator gives the exact answer every time. A good analyst uses their judgment to decide what to calculate, and a calculator to do the calculating.
If your product has a feature for running calculations or code, use it for anything that needs exact numbers. If it does not, double-check the important totals with a spreadsheet.
HHow Claude Reads a Table: A Look Inside
Understanding what happens inside explains both the strengths and the risks.
Claude does not see your table as a grid of cells the way a spreadsheet does. When you paste a table or attach a file, the content is turned into text, split into small pieces called tokens, and passed through the model. The model then writes its answer one token at a time, based on the patterns it learned in training and on the text in front of it.
flowchart LR
T["Your table as text"] --> K["Split into tokens"]
K --> N["Tokens become numbers"]
N --> L["Layers of attention connect headers, values, and your question"]
L --> X["Scores for the next token"]
X --> S["Choose one token"]
S --> O["Add it to the answer"]
O --> L
What Attention Does for Tables
A mechanism called attention lets the model work out which parts of the text matter most for the part it is writing. For data, that means it can link a column header such as “Region” with the values underneath, and link your question with the columns it needs. This is why Claude can answer “which region sold the most?” from a table without being taught your specific file.
Why Long Columns of Numbers Are Tricky
Numbers are split into tokens just like words, and a long number may be cut into pieces. The model is not built like a calculator. When it adds up a column in its head, so to speak, it is doing something closer to estimating from patterns. For short lists it is usually right. For long lists, small errors can creep in. This is not a flaw to be ashamed of. It is a feature of how language models work, and it is the reason calculation tools exist.
Imagine a very well-read person looking at a printed table for a few seconds and then answering questions about it. They will understand the meaning, notice the big patterns, and explain clearly. But if you ask for the exact sum of two hundred numbers, they would be wise to reach for a calculator. Claude is that well-read person, and the calculation tool is the calculator.
When exact figures matter, ask Claude to show how it got the number, or to use a calculation tool if one is available. Then spot-check one or two results yourself.
TTwo Ways Claude Gets an Answer: Reading and Running
The same question can be answered in two very different ways, and you should know which one is happening.
When you ask a data question in Claude, there are two broad routes. In the first, Claude answers directly from the text it can see. In the second, in products that offer it, Claude writes a small program, a tool runs that program on your data, and the exact results come back. Claude then explains them.
flowchart TD
Q["You ask a data question"] --> D{"Does it need exact calculation on many rows?"}
D -->|"No, a small table or a simple question"| R["Route 1: Claude reads the data and answers directly"]
D -->|"Yes, large or precise"| C["Route 2: Claude uses a calculation tool"]
C --> P["A small program runs on your file"]
P --> E["Exact results return to Claude"]
R --> A["Claude explains the answer in plain language"]
E --> A
A --> V["You check the key numbers"]
Route 1: Reading Directly
This route is fast and works well for small tables and for questions about meaning. For example: “What do these five columns represent?” or “Does anything look unusual in these twenty rows?” The risk is that arithmetic on many numbers may be slightly off.
Route 2: Running a Calculation Tool
This route is better for large files and exact statistics. A program does the computing, so totals, averages, and counts are exact. It can also create charts and cleaned files. You may see Claude working through steps while it does this. Availability depends on your product and plan, so look for the feature in your Claude app.
| Question | Route 1: Reading | Route 2: Running a tool |
|---|---|---|
| Best for | Small tables, meaning, and explanation | Large files, exact numbers, charts |
| Exactness of arithmetic | Good for small amounts, riskier for large | Exact, as computed by a program |
| Typical speed | Quick | A little longer, because steps are run |
| What you should do | Spot-check numbers | Review the method and spot-check results |
Think of a shop assistant who can either estimate the bill by looking at the basket, or scan each item at the till. Estimating is fine for a quick sense of the cost. For the real bill, you want the till. Route two is the till.
DData Flow: From Your File to an Insight
Follow one analysis from the first upload to the final summary.
Let us follow a typical session. You have a spreadsheet of monthly sales and want to know how the business is doing. The picture shows the path of the data, and the steps below explain each stage.
sequenceDiagram
participant U as You
participant A as The app
participant C as Claude model
participant T as Calculation tool
U->>A: Attach file and ask a question
A->>C: Send the question and the file content
C->>C: Understand columns and plan the analysis
C->>T: Ask the tool to compute exact results
T-->>C: Return totals, averages, and a chart
C-->>A: Write the explanation with the results
A-->>U: Show the answer, table, and chart
U->>A: Ask a follow-up question
You share the data and the question
You attach a file or paste a table, and say what you want to know.
Claude understands the structure
It reads the headers and a sample of rows to learn what each column means and what the data covers.
Claude plans the analysis
It decides which calculations answer your question and whether a tool is needed.
Calculations run
Either Claude computes from the text it sees, or a tool runs the exact arithmetic.
Results are explained
Claude writes the findings in plain language, often with a small table or chart.
You question and refine
You ask follow-ups, such as “break that down by region”, and the data stays available in the conversation.
Think of a kitchen assembly line. Ingredients arrive at the door, the chef reads the recipe, helpers chop and measure, the chef tastes and plates the dish, and you eat. Each stage has a role, and a mistake early on shows up on the plate. Data analysis works the same way, which is why preparing and checking matter so much.
The file stays part of the conversation, so you can ask many questions about it without uploading it again. Very long chats may eventually crowd the context window, so start a fresh chat when you change topics.
PPreparing Your Data: A Short Checklist
Ten minutes of tidying before you upload saves hours of confusion later.
The quality of an analysis depends on the quality of the data. Many disappointing results come from untidy files, not from the assistant. A tidy table is easier for you, for Claude, and for any tool that processes it. Here is what to check before you share a file.
One clear table
Arrange the data with one header row at the top and one record per row. Avoid blank rows, merged cells, and notes scattered between data.
Clear column names
Use meaningful headers such as “Order Date” and “Sale Amount” instead of “Col1” and “Col2”.
Consistent formats
Use one format for dates and one for numbers. Mixed formats confuse every tool.
Units stated
Say whether amounts are in rupees, dollars, or thousands, and whether dates are day-first or month-first.
Private details removed
Remove or replace names, phone numbers, email addresses, and anything sensitive that the analysis does not need.
A short description
Write one or two sentences about what the data is, the time period, and where it came from.
Describe What the Data Means
Claude cannot know your business rules unless you tell it. If a code such as “R2” means “returned item”, say so. If a blank in the discount column means “no discount” and not “unknown”, say so. A few lines of explanation at the start prevent wrong assumptions throughout the conversation.
Before handing a box of papers to an assistant, you would put them in order, label the folders, and add a note about what is inside. If you simply tipped everything on the desk, the assistant would waste time sorting out what is what. A tidy table is a labeled folder.
Work on a copy of your file, never the only original. If anything gets changed or cleaned, you will still have the original to return to.
YYour First Data Prompt: Four Parts That Work
A good data request has the same four ingredients every time.
A prompt is whatever you write to the assistant. For data work, a strong prompt contains four parts. You can write them in one short paragraph.
The data
Attach the file or paste the table, and say what it contains and what period it covers.
The question
State exactly what you want to learn, such as “which product category had the biggest drop between March and April?”
The context
Explain the meaning of codes, the units, who will read the results, and what decision they will support.
The format
Say how you want the answer: a short paragraph, a table, a chart, or three bullet points for a busy manager.
A Weak Prompt and a Strong Prompt
A weak prompt
“Analyze this.” Claude has to guess what you care about, so you will probably receive a long, general description of the table that does not help with any decision.
A strong prompt
“Attached is a sales file for January to June, with one row per order. Amounts are in thousands of rupees. I want to know whether sales are growing and which month was weakest. Please show a small table of monthly totals and explain the trend in three sentences for my manager.” Now the data, question, context, and format are all clear.
Asking a librarian “I need a book” gets you a shrug. Asking “I need a beginner book about gardening in small spaces, preferably with pictures” gets you a shelf. The same effort in the request makes a big difference to what you receive.
If you are not sure what to ask, say so: “I have this data and do not know where to start. Suggest five useful questions I could ask of it.” Claude is good at proposing starting points.
EExploring a New Dataset: The First Five Questions
Before you analyze, get to know your data, as you would meet a new colleague.
When a dataset is new to you, resist the urge to jump straight to the big question. A few opening questions reveal the shape of the data and catch problems early. They take only a minute.
How big is it?
“How many rows and columns are there, and what period does it cover?”
What is in each column?
“List the columns, what type of information each holds, and an example value.”
What is missing?
“Which columns have empty cells, and how many in each?”
What are the ranges?
“For the number columns, what are the smallest, largest, and typical values?”
Does anything look odd?
“Point out duplicates, impossible values, or labels written in different ways.”
Why This Step Pays Off
Surprises found now are cheap to fix. If you discover that a month is missing or that prices are in two currencies, you can correct it before building a whole analysis on top. Many wrong conclusions in the world come from skipping this simple step.
Before cooking in a rented kitchen, you look around: where are the pots, does the oven work, is there salt? Spending a minute to learn the kitchen avoids a burnt dinner. Exploring a dataset is the same quick walk-through.
CCleaning Data: Fixing the Small Problems First
Real data is rarely tidy, and cleaning is where most of the quiet value is created.
Cleaning means fixing problems in the data so that calculations are trustworthy. It is not glamorous, but analysts often spend more time cleaning than anything else. Claude can find problems quickly and propose fixes, which makes the job much lighter.
| Problem | Example | Why it matters | Usual fix |
|---|---|---|---|
| Duplicates | The same order listed twice | Totals become too high | Keep one copy of each record |
| Missing values | Blank age or price cells | Averages and counts may be wrong | Leave out, fill with care, or ask the owner |
| Inconsistent labels | “Delhi”, “delhi”, and “New Delhi” | One city is counted as three | Standardize to one spelling |
| Wrong types | A number stored as text | It cannot be added | Convert to a true number |
| Mixed units | Some prices in rupees, some in thousands | Comparisons become meaningless | Convert everything to one unit |
| Impossible values | An age of 250 or a negative quantity | Likely entry mistakes | Check the source and correct or remove |
Ask Before You Fix
A good habit is to ask Claude to list the problems first and propose fixes, rather than silently changing things. For example: “Find duplicate rows, inconsistent spellings in the City column, and blank cells. List them with counts, and suggest a fix for each. Do not change anything yet.” You then approve the plan.
Think of washing vegetables before cooking. The meal can still be made without it, but any grit goes straight into the dish. Cleaning is the washing step. Skipping it may not be obvious until someone bites down on a stone.
Filling blanks with guessed values can quietly change the answer. If many values are missing, say so in your findings. Honest gaps are better than invented numbers.
SSummarizing Numbers: Total, Average, and Median
Three simple summaries answer a surprising number of questions.
The most common way to understand a column of numbers is to boil it down to one or two figures. Let us use a small, friendly example. A company has six months of sales, in thousands of rupees: 120, 135, 150, 140, 170, and 185.
How Each One Is Found
The total is every value added together: 120 plus 135 plus 150 plus 140 plus 170 plus 185 equals 900. The average, also called the mean, is the total divided by the number of values: 900 divided by 6 equals 150. The median is found by sorting the values (120, 135, 140, 150, 170, 185) and taking the middle. With six values there are two in the middle, 140 and 150, so the median is their halfway point, 145.
When the Average Misleads
Now imagine five employees with salaries of 30, 32, 35, 38, and 215 (in thousands). The average is 350 divided by 5, which is 70. Yet four of the five people earn less than 40. The median, the middle value, is 35 and describes the typical person far better. One extreme value pulled the average up.
Imagine a group of friends sitting in a room, and a famous basketball player walks in. The average height of the room jumps, but nobody else has grown. The median height barely changes. When one unusual value is present, the median is the steadier guide.
Ask Claude for both the average and the median, and to explain any big difference between them. A large gap is a signal that unusual values are present.
GGrouping and Comparing: Which Is Biggest, and By How Much?
Most useful questions compare groups, such as regions, products, or months.
Grouping means collecting the rows that share a label and summarizing each collection. For example, “total sales by region” groups every order by its region and adds up each group. Spreadsheet users know this as a pivot table. With Claude you can simply ask for it in a sentence.
Category
“Total revenue for each product category, from largest to smallest.”
Time
“Orders per month, so I can see busy and quiet periods.”
Two things at once
“Average order value by region and customer type, as a small table.”
Top and bottom
“The five best and five worst products by profit.”
Counts, Shares, and Differences
When comparing, ask for more than the raw total. A share says what part of the whole a group is: if one region sold 300 out of 900, its share is one third, about 33 percent. A difference says how far apart two groups are. A percentage change says how much something grew or shrank compared with where it started. Each answers a slightly different question, so name the one you need.
Think of sorting a pile of coins by type into small trays and then counting each tray. You have not changed the coins, only arranged them so that each question, such as “how many five-rupee coins?”, has an easy answer. Grouping is sorting the coins into trays.
Fair comparisons need fair groups. Comparing a region with ten stores to a region with two stores by total sales is not fair. Ask for the average per store as well.
TTrends Over Time: Is It Going Up or Down?
Time is the most common story that data tells.
A trend is the overall direction of a number across time. Looking back at the six months of sales (120, 135, 150, 140, 170, 185), the numbers dipped once, in April, but the overall direction is upward. From January to June, sales rose from 120 to 185, an increase of 65. As a percentage: 65 divided by 120 is about 0.542, so sales grew by roughly 54 percent over the period.
Look at the whole line
Start with the overall direction before worrying about single months.
Spot the dips and jumps
Ask what happened in unusual months. A dip may have a clear reason, such as a holiday.
Check for repeating patterns
Some numbers rise and fall with the seasons every year. This is called seasonality.
Compare like with like
Compare a month with the same month last year, not with the month before, when seasons matter.
Think of a child’s height marked on a doorframe each birthday. One year may show a small gain and another a big jump, but the marks together tell the story of growing up. A single mark alone says very little. A trend needs the whole row of marks.
Six data points are enough to describe what happened, but not enough to promise what will happen. Treat any forecast as a rough guess and ask Claude to state its assumptions.
CCharts: Choosing the Right Picture
A good chart answers a question at a glance. A poor one hides it.
Depending on your product and plan, Claude may be able to create charts directly, or it may suggest a chart and describe how to build it in your spreadsheet. Either way, the key skill is choosing the right type of chart for the question.
flowchart TD
Q["What do you want to show?"] --> A{"Change over time?"}
A -->|"Yes"| L["Line chart"]
A -->|"No"| B{"Compare groups?"}
B -->|"Yes"| BR["Bar chart"]
B -->|"No"| C{"Parts of a whole?"}
C -->|"Yes, few parts"| P["Pie or stacked bar"]
C -->|"No"| D{"Relationship between two numbers?"}
D -->|"Yes"| S["Scatter plot"]
D -->|"No"| H["Histogram for spread of values"]
| Chart | Best for | Example question |
|---|---|---|
| Line | Change over time | How did monthly sales move this year? |
| Bar | Comparing groups | Which region sold the most? |
| Pie | Parts of a whole with only a few parts | What share does each channel have? |
| Scatter | Relationship between two numbers | Do bigger discounts go with more orders? |
| Histogram | How values are spread | What is the usual order size? |
Rules for Honest Charts
Give the chart a clear title that states the point. Label the axes with units. Start bar charts at zero, because a bar that starts higher exaggerates differences. Avoid too many colors and too many categories. When you ask Claude for a chart, mention who will see it, so the style fits.
Choosing a chart is like choosing a container. Soup goes in a bowl, not on a plate. The same data in the wrong chart spills everywhere, while the right chart holds it neatly.
TText as Data: Finding Themes in Comments
Not all data is numbers. Claude is especially useful with written words.
Surveys, reviews, support messages, and interview notes are full of valuable information, but nobody enjoys reading five hundred comments. Because Claude is a language model, reading text is where it is most at home. It can group comments into themes, count how often each appears, and pick out representative quotes.
Find themes
“Group these comments into five to eight themes and give each a short name.”
Judge sentiment
“Label each comment as positive, neutral, or negative, and count them.”
Pull quotes
“Give two short example quotes for each theme, copied exactly.”
Compare groups
“Which themes appear more often among new customers than among long-time customers?”
Cautions for Text Analysis
Themes depend on judgment, so two analysts may group comments differently. Counts produced by reading are estimates, particularly for long lists. For important decisions, ask Claude to show which comments belong to each theme, and read a sample yourself. If a quote matters, check that it appears word for word in the original.
Imagine a teacher sorting hundreds of sticky notes from a class discussion into piles: “wants more examples”, “too fast”, “enjoyed the group work”. Each pile is a theme, and the height of the pile shows how common it is. Claude does the sorting, and you decide whether the piles make sense.
Give Claude your own category names if you have them. “Sort these into: price, delivery, quality, support, other” is more consistent than letting it invent labels.
CCorrelation Is Not Causation
The most famous trap in all of data analysis.
Two things are correlated when they tend to move together. When one rises, the other usually rises too, or when one rises, the other usually falls. Causation means one thing actually makes the other happen. Data on its own can show correlation, but proving causation needs more: a fair experiment, or strong knowledge of how the world works.
On hot days, ice cream sales go up and so do visits to the swimming pool. Does ice cream cause swimming? Of course not. A third thing, hot weather, drives both. When two numbers rise together, always ask whether a hidden third factor is behind both.
How This Appears in Your Data
Suppose your table shows that customers who received a discount email spent more. It is tempting to say the email caused the spending. But perhaps the email went only to your most loyal customers, who would have spent more anyway. Claude can describe the pattern well, and you can ask it directly: “What other explanations could produce this pattern?” A good answer will list several.
Safe wording
- “Customers who got the email spent more.”
- “The two numbers move together.”
- “This pattern is consistent with the email helping, but other explanations exist.”
Risky wording
- “The email caused higher spending.”
- “This proves the campaign works.”
- “Because of X, Y happened.”
OOutliers: The Values That Do Not Fit
The strange values deserve a closer look, not an automatic deletion.
An outlier is a value far away from the rest. We met one in the salary example: 215 among values near 35. Outliers have two possible origins. Either they are mistakes, such as an extra zero typed by accident, or they are real but rare, such as one huge customer. The right action depends entirely on which it is.
Find it
Ask Claude to list values far from the typical range, and to say how it decided.
Investigate
Look at the full row. Does the record make sense? Check the original source if you can.
Decide
Correct a mistake, keep a genuine value, or analyze with and without it.
Say what you did
Write down the decision in your findings so that readers can judge it.
If a thermometer reading says 400 degrees in your living room, you suspect the thermometer is broken. If it says 400 degrees inside the oven, that is perfectly normal. Whether a strange value is an error depends on the context, which is why you must explain context to Claude.
Removing inconvenient values until the picture looks nice is a form of cheating yourself. Always report how the result changes with and without an outlier.
AArchitecture and Components: What Sits Behind the Chat Box
A short tour of the parts that work together when you analyze a file.
When you analyze data in Claude, several parts cooperate. The exact setup differs between products and changes over time, but the general shape is similar. Seeing it helps you understand where each kind of problem comes from.
flowchart LR
U["You in the chat app"] --> UP["File upload handling"]
UP --> ST["Temporary file storage for this conversation"]
U --> M["Claude model"]
ST --> M
M --> TL["Optional tools: calculation and chart creation"]
TL --> ST
TL --> M
M --> R["Answer with text, tables, and charts"]
R --> U
The chat app
Where you type, attach files, and read answers. It controls which features you can use.
File handling
Accepts supported file types and prepares their content for the model. Unsupported or oversized files may be refused.
The model
Reads your question and data, plans the work, and writes the explanation.
Tools
Where available, they perform exact calculations and create charts or new files for you to download.
Picture a restaurant. The front desk takes your order and your coat, the chef decides how to cook, the kitchen equipment does the heavy work, and the waiter brings the dish. If the soup is cold, the cause could be any of these. Knowing the parts helps you work out where to look when something goes wrong.
Different products have different limits for file size, number of files, and file types. When an upload fails, check the official help center for the current limits rather than guessing.
BBig Files and Limits: What If the Data Is Too Large?
Every conversation has a size limit, and large data needs a plan.
Recall the context window: the amount of text the model can keep in view at once. A table with hundreds of thousands of rows cannot simply be read in full. Products that support calculation tools get around this by letting a program process the whole file while the model sees only summaries. Products without such tools are limited to what fits in view.
Use a sample
Share the first few hundred rows for exploring, then run the final calculation on the full file elsewhere.
Share a summary
Compute totals by month or region in a spreadsheet, then give Claude the small summary table to interpret.
Split by topic
Analyze one region, product, or year per chat, then combine the conclusions.
Ask for the method
Have Claude describe the steps or formulas, then run them on the full data yourself.
Think of a desk. A small stack of papers fits and can be read at once. A whole warehouse of papers does not fit on any desk, so you work through it in batches, or you send a clerk to count it and report the totals. A sample is a batch, and a summary table is the clerk’s report.
If a file is cut off because it is too large, the assistant might analyze only part of it and not mention it. Ask directly: “How many rows did you actually analyze?” and compare with your own count.
SSecurity and Privacy: Protecting the Data You Share
Data often contains information about real people and real businesses. Treat it with care.
Before you upload a file, ask a simple question: would I be comfortable if this content were seen by someone outside the people who should see it? Customer lists, salaries, health records, and financial details are sensitive. Many workplaces also have rules about what may be shared with external services. Follow your organization’s rules, and when in doubt, ask the person responsible for data policy.
Share only what you need
Remove columns that the question does not require, such as phone numbers or home addresses.
Replace real names
Use codes such as “Customer 17” instead of names. This is called anonymizing the data.
Know the rules
Read your product’s privacy and data-use settings in the official help center, and your organization’s policy.
Never share secrets
Do not include passwords, access keys, card numbers, or identity numbers in any file or chat.
Beware of instructions inside data
Files from outside sources may contain text that tries to give the assistant orders. Treat file content as data, not as commands, and be cautious with unknown files.
Keep a clean original
Store the original file safely and analyze copies, so that you can always redo the work.
When you ask a neighbor to water your plants, you give them the front-door key, not the key to the safe. Sharing data works the same way: hand over what the job needs and keep everything else locked away.
Removing names is not always enough. A combination of age, town, and job may still point to one person. When the data is about individuals, remove or blur more than you think necessary.
VVerifying Results: Trust, but Check
The single most valuable habit in AI-assisted analysis.
Claude writes fluent, confident explanations. Fluency is not proof. A wrong total reads just as smoothly as a right one. Verification is the step where you turn a plausible answer into a trusted answer, and it does not need to take long.
flowchart TD
A["Claude gives a result"] --> B["Does it pass a quick sense check?"]
B -->|"No"| F["Ask Claude to show its working"]
B -->|"Yes"| C["Spot-check one or two numbers by hand or in a spreadsheet"]
C --> D{"Do they match?"}
D -->|"No"| F
F --> G["Find the cause: data, question, or calculation"]
G --> H["Fix and ask again"]
H --> A
D -->|"Yes"| E["Is the result important?"]
E -->|"Yes"| I["Have a second person or method confirm"]
E -->|"No"| J["Use it, noting any limits"]
I --> J
Five Quick Checks
Sense check
Is the answer in a believable range? If monthly sales are around 150 and the total for six months is 90, something is wrong.
Row count check
Ask how many rows were used, and compare with your own count.
Spot check
Pick one group or month and compute it yourself in a spreadsheet. If one matches, trust rises. If it does not, stop and investigate.
Parts add up
Do the group totals add up to the overall total? Do the shares add up to about 100 percent?
Show the working
Ask Claude to explain exactly which columns and steps it used. A clear method is easy to review.
A bank clerk counts the money, and then counts it again with a machine. They are not insulting themselves, they are protecting the customer. Checking an assistant’s work is the same professional courtesy to everyone who will rely on the numbers.
Ask: “What could be wrong with this analysis?” Claude will often list real weaknesses, such as missing data, small samples, or assumptions it made.
MMonitoring Your Own Analysis: Notes, Logs, and Repeatability
An analysis you cannot explain or repeat is hard to trust.
Professional teams keep records of how results were produced. You can borrow the idea in a light form. Keeping a few notes lets you answer the question that always arrives eventually: “How did you get this number?”
The source
Which file, which version, and when it was exported.
The cleaning
What was removed or changed, with counts, such as “removed 14 duplicate rows”.
The questions and method
The prompt you asked, and the calculation steps Claude described.
The results and checks
The key numbers and which ones you verified independently.
Ask Claude to Write the Log
At the end of a session you can say: “Summarize what we did in order: data used, cleaning steps with counts, calculations, and the key results. Keep it short enough to paste into my notes.” Save this together with your original file. Next month, when the new data arrives, you can reuse the same questions and compare.
A recipe card lets anyone cook the same dish again. Without it, you remember “a bit of this, a bit of that” and the dish never tastes quite the same. Your notes are the recipe card for your analysis.
The same prompt may not give exactly the same wording twice. That is normal for a language model. The numbers, however, should match if the data and method are the same, and that is exactly what your notes help you confirm.
PHelpful Patterns for Data Conversations
Reusable ways of working that make results better.
Describe, then analyze
First ask for a description of the data and any problems. Only then ask the real question.
Plan before doing
Ask for the plan of analysis steps first, approve or adjust it, and then ask Claude to carry it out.
One question at a time
Ask small, specific questions and build up, instead of a single giant request.
Show the table, then explain
Ask for the numbers in a small table first and the narrative second, so you can check the evidence.
Challenge the finding
After a result, ask for alternative explanations and the weakest point of the analysis.
Explain to the audience
Finish by asking for a summary written for a specific reader, such as a busy manager or a customer.
A builder studies the plot, draws a plan, agrees it with the client, and only then lays bricks. Skipping straight to bricks is faster for a day and slower for a year. These patterns are the builder’s habits applied to data.
AAnti-Patterns: Habits to Avoid
These are tempting shortcuts that lead to wrong conclusions.
The habit
Uploading a file and writing only “analyze this”.
Why it hurts
Claude has to guess your goal, so you receive a general description rather than an answer.
Better approach
State the question, the context, and the format you want.
The habit
Copying the result into a report without checking any number.
Why it hurts
A single slip can travel into decisions, and you will not know it happened.
Better approach
Spot-check key figures and ask for the working.
The habit
Asking leading questions, such as “prove that the campaign worked”.
Why it hurts
The assistant may lean toward supporting your belief rather than testing it.
Better approach
Ask neutral questions: “Did the campaign change sales, and what else could explain it?”
The habit
Pasting sensitive personal data without thinking about who should see it.
Why it hurts
It can break privacy promises and workplace rules.
Better approach
Remove, replace, or summarize sensitive details first.
The habit
Searching the data until something looks interesting, and then presenting it as a discovery.
Why it hurts
With enough comparisons, chance alone produces impressive-looking patterns.
Better approach
Decide your questions in advance, and treat surprising findings as ideas to test, not facts.
BBest Practices and Common Mistakes
A short list of dos and don’ts to keep nearby.
Best practices
- Start with a clear question and a purpose
- Tidy the table and explain the columns
- Explore first, then analyze
- Ask for both the average and the median
- Use calculation tools for exact numbers when available
- Verify key figures independently
- State limits and assumptions in your report
- Protect private details
Common mistakes
- Trusting the first total without a check
- Forgetting units or time periods
- Treating correlation as cause
- Deleting outliers without a reason
- Ignoring missing values
- Assuming the whole file was read
- Using one giant chat for many unrelated tasks
- Presenting a guess as a certainty
Safe driving is mostly a handful of habits: look in the mirror, keep your distance, slow down at corners. None is difficult, and together they prevent most accidents. These lists are the mirror and the seat belt of data analysis.
RReal-World Examples
Five everyday situations where the approach in this guide fits.
A shop owner studies sales
The owner uploads monthly sales by product. Claude totals each product, ranks them, points out the weakest, and the owner asks, “Is the drop in April seasonal?” By comparing with last April, they learn it happens every year and plan stock accordingly.
A teacher reviews exam results
A teacher removes student names, assigns each student a number, and asks which questions most students missed. The summary shows that two questions on the same topic had low scores, which tells the teacher what to reteach.
A small team reads customer feedback
Two hundred survey comments are grouped into themes. “Delivery time” appears most often. The team asks for three example quotes, checks them against the originals, and puts the quotes in a short report for the manager.
A student prepares a science project
A student records plant height each week under two types of light. Claude helps draw a line chart, explain the trend, and word the conclusion carefully: “plants under light A grew taller”, rather than “light A is always better”.
A household reviews its spending
Someone pastes a month of expense categories with the amounts, with account numbers removed. Claude shows what share each category takes and suggests two places to look for savings, which the person then decides on.
TAdvantages, Disadvantages, and Trade-offs
An honest look at what you gain and what you must manage.
Advantages
- Ask questions in everyday words
- Fast first look at unfamiliar data
- Plain-language explanations of results
- Good at text, themes, and summaries
- Helps with formulas, charts, and reports
- Easy follow-up questions
Disadvantages
- Arithmetic can slip without a calculation tool
- Size limits on files and conversations
- Confident wording can hide a mistake
- Needs your context to avoid wrong assumptions
- Privacy care is required
- Features vary by product and plan
| Choice | You gain | You give up |
|---|---|---|
| Quick read of a small table | Speed and simplicity | Certainty on exact arithmetic |
| Using a calculation tool | Exact numbers on large files | A little more time and a need to review the method |
| Sharing the full file | Richer analysis | More privacy exposure |
| Sharing a summary only | Safer and fits any size | Less detail to explore |
A power tool cuts wood faster than a hand saw, but it demands safety glasses and a steady hand. The speed is real, and so is the responsibility that comes with it.
WA Worked Example from Start to Finish
Putting every step together with the small sales example.
A shop owner has sales for six months (in thousands of rupees): 120, 135, 150, 140, 170, and 185. Here is how a careful conversation might go.
Set the scene
The owner says: “These are monthly sales, January to June, in thousands of rupees. I want to know if the business is growing and which month was weakest.”
Summaries
The total is 900, the average is 150, and the median is 145. Average and median are close, so there are no extreme values.
Trend
Sales rose from 120 to 185, an increase of 65, or about 54 percent. April, at 140, was a small dip after March’s 150.
Weakest month
January, at 120, was the lowest. April was the only month lower than the one before it.
Verify
The owner adds the six numbers in a spreadsheet and confirms 900, then checks that 900 divided by 6 is 150.
Communicate with care
The report says: “Sales grew about 54 percent from January to June, with one small dip in April. Six months is too short to call it a permanent trend.”
It is like planning a short trip: decide the destination, look at the map, check the route, confirm the tickets, and then tell your family exactly when you will arrive. Each step is small, and skipping one is how people end up at the wrong station.
RReady-to-Use Prompt Starters
Copy the shape of these requests, and replace the details with your own.
Beginners often know what they want but not how to word it. The starters below follow the four-part recipe from earlier: data, question, context, and format. Change the words in brackets to fit your situation, and add any rules about your business that Claude cannot guess.
Get to know the file
“Here is [describe the data]. Tell me how many rows and columns it has, what each column holds, which cells are empty, and anything that looks unusual. Do not change anything yet.”
Find problems
“List duplicate rows, inconsistent spellings in [column], and impossible values, with counts. Suggest a fix for each and wait for my approval.”
Compare groups
“Show total and average [measure] for each [group] in a small table, sorted from highest to lowest, and explain the biggest difference in two sentences.”
Describe change
“Describe how [measure] changed from [start] to [end], including the percentage change and any months that broke the pattern. Mention what the data cannot tell us.”
Find themes
“Group these comments into no more than seven themes. For each theme, give a count, a one-line description, and two exact quotes.”
Test the work
“How many rows did you use? Show the steps behind the main number. What assumptions did you make, and what could be wrong with this analysis?”
Think of recipe cards in a kitchen drawer. You rarely follow one word for word, yet each gives you a reliable starting point so that you never face an empty pan wondering what to do first. Prompt starters are recipe cards for conversations with data.
Keep your best prompts in a notes file. When the next month’s data arrives, you can paste the same questions again and compare the answers month to month.
FFrequently Asked Questions
Quick answers to what beginners ask most.
SSummary and Key Takeaways
If you remember only a few ideas from this guide, make it these.
Key Takeaways
- Start with a question. Analysis is asking questions of data, so state what you want to learn, who it is for, and the format you want back.
- Prepare the table. One header row, clear column names, consistent formats, stated units, and no private details make every result better.
- Reading is not calculating. Claude understands and explains very well, but exact arithmetic on many numbers is safest with a calculation tool or a spreadsheet check.
- Explore, clean, then summarize. Look for duplicates, blanks, and odd values first, and compare the average with the median before drawing conclusions.
- Mind the traps. Correlation is not causation, outliers deserve investigation, and a short history does not predict the future.
- Verify what matters. Sense-check, count rows, spot-check numbers, and ask for the working before anything important leaves your desk.
- Protect and record. Share only what is needed, follow your organization’s rules, and keep notes so the work can be explained and repeated.