Prologue — “The Second Signal”

What Does a Data Analyst Do?

14 min

One problem, three roles

On Monday, Kotomarket's product owner brings the data team a single request:

Customers are coming back less often. Find out what's going on.

A cadet studies a black box while three holographic streams above it show a data analyst, data scientist, and data engineer working on the same problem.
A data analyst, data engineer, and data scientist each do different work on the same problem, and the analyst's job ends with a recommendation rather than a number.

The three specialists approach the same problem from different angles.

A data analyst answers the question, “What exactly is happening, and what is it associated with?” They break —the share of customers who return—down by dimensions such as first-purchase month, acquisition channel, platform, and city, then look for where the decline is concentrated and what changes it coincides with. Two days later, they report: “Repeat purchases fell only for acquired through the ‘food for a dollar’ promo starting June 1; retention for everyone else didn't change.” That still doesn't prove the promo caused the decline, but it sharply narrows the set of hypotheses worth testing. Tools: SQL, Python/pandas, metrics, , and common sense.

A data scientist working on the same problem might answer, “Who is most likely to leave next?” They build a model that uses user behavior to estimate the probability that someone won't return within the next 30 days, so the retention team can email the three thousand users with the highest predicted risk instead of messaging everyone. Tools: the same SQL and Python, plus statistics and machine learning.

A data engineer answers the question, “Where do these numbers come from in the first place?” They build a daily pipeline: every night, app events flow from the event stream into the , are deduplicated, and are organized into tables so that retention is recalculated automatically by 9 a.m. using the same rules every time. Tools: SQL, Python, orchestrators, and data warehouses.

QuestionDeliverable
Data analystwhat is happening, and what is it associated withconclusions and a recommendation
Data scientistwhat is likely to happen nexta model and predictions
Data engineerhow the data gets where it needs to goa pipeline and data warehouse

In a small company, one person may handle parts of all three jobs. In a large company, separate specialists or teams may own them. The boundaries between roles depend on the company, but the underlying tasks are different. For example, before building a churn model, it helps to understand the data and its segments: sometimes a simple analysis is enough to pinpoint the decline, and sometimes that analysis reveals which features and hypotheses are worth putting into the model.

One company — three professionsCatmarketcompany dataDEData EngineerdataarrivespipelineDSData Scientistwhat will likelyhappenmodelDAData Analystwhat happenedand whydashboard
The data engineer delivers and prepares the data, the analyst explains what's happening in it, and the data scientist builds predictions.

The analyst's workflow

Every analytics problem goes through the same cycle. Here's each step in one sentence:

  1. Question. Turn a vague request (“take a look at what's going on with returning customers”) into a question with a testable answer and a clear cost of being wrong.
  2. Data. Find the tables where the answer might live and make sure the data can be trusted.
  3. Calculation. Calculate the metric using an explicitly defined rule and break it down by relevant dimensions.
  4. Conclusion. State exactly what the numbers prove—and what they don't.
  5. Recommendation. Propose an action, including its cost and timeline.
  6. Check. See what changed after the action, then return to step 1.

What does “check the data” mean?

This is one of the steps beginners skip most often. Without it, even a careful calculation can produce a confident answer from bad data. Checking the data comes down to five questions about the table.

  • Completeness. Are all dates present? Are there days with suspiciously few rows—or none at all? A gap in the data can look just like a real drop in a metric on a chart.
  • Freshness. When was the table last updated? If the latest day isn't over yet, or its data hasn't finished loading, the metric may look lower than usual simply because the data is incomplete.
  • Duplicates. Did the same event arrive twice? Did joining tables duplicate rows? Duplicates distort results: sums or row counts may increase, while averages, rates, and other metrics can shift in different ways depending on what was duplicated.
  • Grain: what does one row represent? Is each row an order, an item within an order, or a delivery? If you treat each item in an order as a separate order, you may count the same purchase several times. The resulting number can still look perfectly plausible.
  • Consistency. Does the number agree with another source? For example, you can compare the number of orders in event data with the number of orders in the database. A small discrepancy still needs an explanation; a large one is a reason to stop and investigate before going further.

L., entry No. 11: “Until you know what one row represents, you aren't calculating a metric. You're adding up something you don't understand.”

The analyst's loopQuestionwhat to learnDatawhere to get itAnalysiscomputeConclusionwhat it meansRecommendationwhat to doAnalystloopa finding without a recommendation isn't the job yet
Question → data → calculation → conclusion → recommendation → check. You rarely go through the cycle just once: the check, or even the first answer, often leads to another question.

The ladder: from observation to decision

In everyday conversation, “observation,” “conclusion,” and “decision” often blur together. At work, they are different levels. Confusing them can make you panic too soon or take responsibility that belongs to someone else. Here's a case from L.'s journal.

Level 1. Observation — what you can see, without explaining it.

DAU: 4 200 → 2 950 overnight   (−30%)

This isn't an explanation of the problem or even a finding yet. It's a fact that still needs to be checked. It's too early either to panic or to relax.

Level 2. Finding — where exactly the decline is coming from. Break the metric down by platform:

platform      before     after   change
iOS            1 000       980      −2%
Web              560       566      +1%
Android        2 640     1 404     −47%   ← almost the entire drop is here

Almost the entire overall decline comes from Android: DAU there fell by 1,236 users out of the total drop of 1,250. Now break Android down further by app version:

version       before     after   change
4.11            920       920       0%
4.12          1 720       484     −72%   ← and here

The finding: within Android, the entire decline comes from version 4.12. Notice that the overall metric fell by about 30%, but none of the segments shown here fell by exactly 30%. Part of the audience barely changed, while Android 4.12 dropped by almost three quarters. An metric can hide the segment where the change actually happened.

Level 3. Interpretation — a hypothesis tied to an external fact. Version 4.12 was released the previous evening, and its launch screen had been rewritten. One possibility is that users really did stop opening the app. Another is that the new version stopped sending the app_open event used to calculate DAU. Test these explanations against an independent signal—purchases:

purchases from Android 4.12:  124 → 121   (−2%)

Purchases barely changed, even though DAU for the same group, measured through app_open, fell by 72%. That doesn't fit well with the idea that users disappeared en masse, and it makes a tracking problem much more likely. The next step is to inspect app_open collection directly: check the logs, the event schema, or data from another independent source.

Level 4. Conclusion — what has been confirmed, and where the limits of your confidence lie.

Almost the entire drop in DAU comes from Android users, and within Android, from version 4.12. At the same time, purchases on Android 4.12 barely changed. So the sharp decline in DAU is most likely related not to users disappearing, but to app_open tracking after the 4.12 release. Until tracking is verified, DAU data from March 12 onward should not be considered reliable.

A conclusion also makes clear what it doesn't claim: we haven't proved that version 4.12 had no negative effect on the product at all, and we haven't yet proved that app_open is actually broken. We have identified where the discrepancy appears and found strong evidence pointing to a measurement problem.

Level 5. Recommendation — what you propose doing and what it will cost.

Don't roll back the release solely because DAU fell while other signals show no comparable drop. First, check and fix app_open tracking. Then, if possible, reconstruct DAU for the affected days from a reliable source; otherwise, mark those days as incomplete in reports.

Only then comes the decision. It belongs to the person responsible for the product, with the resources and authority to act. Depending on the team, that might be the product owner, a manager, or a team lead. They may accept the recommendation, choose a rollback because of other risks, or postpone the fix.

The analyst isn't responsible for making the decision alone. Their responsibility is to make sure the decision is made with a clear understanding of the facts, limitations, and level of confidence. You don't need to know in advance “what the company should do” to be useful. You need to figure out what's actually happening, separate facts from hypotheses, and explain it clearly.

What you'll be asked in an interview

Requirements vary from job to job, but junior interviews often cover a similar set of topics.

What they ask aboutWhat it looks like in an interview
SQLa query with GROUP BY and JOIN, a metric by day, the difference between WHERE and HAVING
Python / pandasread a table, filter it, group it, calculate a rate; explain what a piece of code returns
Product metricswhat DAU, , conversion, and average order value (AOV) mean; how sales volume differs from revenue; how to measure whether a feature succeeded
Basic statisticsmean versus median, what an outlier is, why a small sample doesn't always support confident conclusions
Visualizationwhich chart fits which task; why a truncated Y-axis can be misleading
Case study“A metric dropped by 20%—what do you do?” They test your reasoning, not whether you know a predetermined answer
Communicationexplain a conclusion to a nontechnical person in one minute without saying the word “join”

A take-home assignment is also a common separate stage. A typical prompt might look like this:

Attached are two files: 90 days of app events and a user reference table. Calculate daily DAU and retention for weekly , then find and describe an anomaly. Submit a notebook with your code and 3–5 slides with conclusions for the product team. Deadline: 3 days.

The assignment tests more than how quickly you can write code. What matters is whether you notice the anomaly, think to double-check the data before calculating anything, and can fit the result into a few slides that make sense to someone who doesn't know SQL. You'll build those skills throughout the rest of the course, and by the final chapter you'll have a complete case of your own to analyze.

Check yourself
“Build a model that predicts which subscribers will leave within the next month.” Whose job is this primarily?
Check yourself
“Almost the entire drop in DAU comes from Android, and within Android, from version 4.12.” Which level of the ladder is this?
Check yourself
The analyst found strong evidence of an event-tracking problem and recommended checking and fixing tracking before rolling back the release. Who decides what to do?
Key takeaways
  • on the same problem, the analyst explains what happened, the data scientist predicts what will happen next, and the data engineer makes sure the data gets where it needs to go
  • the cycle: question → data → calculation → conclusion → recommendation → check
  • “check the data” = completeness, freshness, duplicates, row grain, consistency with another source
  • the ladder: observation (what you see) → finding (where it is) → interpretation (why) → conclusion (what is proven) → recommendation (what to do); the product owner makes the decision
  • interviews cover SQL, Python/pandas, metrics, basic statistics, visualization, case studies, and your ability to explain your reasoning

Next up: your first Python cell, right in the browser.