Exploratory Data Analysis (EDA) Workflows
Structure EDA: questions, profiles, plots, hypotheses, and documented findings for stakeholders.
In plain words
Know what you want to find out, check that the data is sound, look at it in a few different ways, and write down what you learned.
Think of it like…
A doctor's first consultation: start with why the patient came, check vitals and history, run specific tests that follow from what you find, and write notes so the next doctor knows what was ruled out. Random tests with no question and no notes waste everyone's time.
Where you’ve seen it
Asked "why did repeat purchases drop in October?", an analyst checks data quality first (a tracking change on 3 Oct doubled some events), segments repeat rate by acquisition channel, city and device, and finds the drop is confined to one paid channel after a campaign change brought in lower-intent users. The findings log lists the tracking fix, the channel result with numbers and two follow-up questions, so the marketing team can act the same day.
Words you’ll hear
- Question-first EDA
- Start from the decision to support, not from the dataset.
- Data profile
- Summary of rows, types, missing values, duplicates, ranges and cardinality.
- Segmentation
- Splitting results by groups (channel, city, cohort) to find where an effect lives.
- Findings log
- A running record of observations, decisions, open questions and evidence.
Visual diagram
Theory & deep dive
The workflow, step by step
Frame the question and define the metric exactly (what counts as a repeat purchase, over what window). Profile the data: df.shape, info(), describe(include="all"), missing and duplicate counts, key uniqueness, date ranges and obvious impossible values, and check how the data was collected (tracking changes, backfills, test traffic). Resolve or log quality issues before analysis; a finding built on broken data is worse than none.
Explore from simple to specific. Start with distributions of key variables, then trends over time, then segment cuts (channel, region, cohort) to locate where the effect lives, then relationships between variables. Form a hypothesis, test it with a number (not a hunch), and note whether it's supported, refuted or inconclusive. Control for obvious confounders such as seasonality, mix shifts and outliers, and check sample sizes before believing a small segment.
df.groupby(["month", "channel"]).agg(repeat=("is_repeat", "mean"), n=("order_id", "size")).unstack("channel") shows repeat rate and volume per channel per month, so a drop confined to one channel stands out and tiny segments are visible by their small n.
Documenting findings so others can use them
Keep a findings log as you work: date, observation, evidence (a table or plot reference), interpretation, action taken (cleaned, excluded, escalated) and open questions. It prevents re-discovering the same issues, makes your decisions auditable, and becomes the skeleton of the summary. Organise the notebook as a story with headings (Question, Data, Quality, Exploration, Findings, Next steps) and ensure it runs from top to bottom with a fixed random seed and recorded data version.
Communicate with a short summary first: the answer in one or two sentences with the key number, the evidence in three or four charts with titles that state the finding ("Repeat rate fell only for paid social"), the caveats (sample size, data issues), and recommended actions. Remember that EDA shows association, not causation, and that looking at many cuts produces false positives by chance, so label exploratory findings as hypotheses and confirm important ones with a proper test or experiment.
"2026-11-12: Repeat rate fell from 31% to 24% in October (n = 41,800). Drop is concentrated in paid social (−11 points, n = 9,200); other channels flat (±1 point). Tracking fix on 3 Oct removes duplicated events and explains 1.5 points. Next: ask marketing about the 12 Oct targeting change."
How it works, step by step
Step 1 of 41. Frame the question and metrics
Write the question, the exact metric definitions, the time window and what decision the answer supports.
- Ask
- who will act on this?
When to use it & trade-offs
What it is
Exploratory data analysis (EDA) is a structured investigation of a dataset before modelling or reporting. A good workflow is question-first: start with the decision or hypothesis, then profile the data (shape, types, missing values, duplicates, ranges), explore distributions and relationships with plots, test hypotheses against the data, and keep a findings log that records what you saw, what you did about it and what you'd ask the business next. The output isn't a pile of charts; it's a set of verified statements and next steps.
Why it matters: Unstructured EDA turns into aimless plotting. It misses data quality problems that later wreck a model, produces findings nobody can reproduce, and buries the two insights that matter among fifty charts. A repeatable workflow also makes it easy for stakeholders and teammates to trust and review your work, which is what interviewers look for in take-home analyses.
When to reach for it
- Investigating metric changes
- Preparing data for modelling
- Take-home analyses and stakeholder briefings
When to avoid or be careful
- Plotting everything with no question
- Drawing conclusions before checking data quality
- Treating exploratory patterns as proven causes
Approaches to exploration
Strengths: Focused, reproducible, easy to review.
Watch out: Can miss unexpected patterns outside the question.
Strengths: Surfaces surprises and ideas.
Watch out: Easy to wander; false positives from many cuts.
Strengths: Thorough summaries in minutes.
Watch out: Doesn't know your question; still needs judgement.
Interview signals & numbers to know
When this topic comes up
- “Walk me through how you'd explore this dataset”
- “Why did this metric drop?”
- “How do you document analysis?”
- Data quality checks
- Segmentation
Benchmarks & rules of thumb
- 4 steps
- frame, profile, explore, record
- n
- report sample size with every segment
- top to bottom
- how a notebook should run
Common mistakes & follow-ups
Common interview mistakes
- Building a story on a segment of 40 rows without noting the sample size.
- Skipping quality checks and analysing duplicated or test traffic.
- Presenting a correlation found after 50 slices as a confirmed cause.
Likely interviewer follow-ups
- How would you start EDA on a new dataset?
- How do you avoid false findings from many segment cuts?
- What goes into a good findings log?
Knowledge check
Put it into practice
Practice related interview Q&A
Apply Exploratory Data Analysis (EDA) Workflows with data science interview Q&A and hands-on practice.