Chapter 5 Key Takeaways: Exploratory Data Analysis
The EDA Mindset
-
Explore before you model. Exploratory Data Analysis is not a step to rush through on the way to machine learning — it is the foundation that determines whether everything that follows will succeed or fail. Skipping EDA is the data science equivalent of building a house without inspecting the soil. John Tukey's core insight remains true: the greatest value of looking at data is when it forces you to notice what you never expected to see.
-
EDA generates hypotheses; it does not test them. The purpose of EDA is to surface patterns, anomalies, and questions — not to confirm pre-existing beliefs. The best EDA outcome is a list of well-formed hypotheses that can be tested with confirmatory analysis or predictive models. When NK Adeyemi noticed that older churned customers had fewer purchases than younger churned customers, she generated a hypothesis worth testing — and that hypothesis emerged from a picture, not a formula.
Descriptive Statistics
-
Always report both mean and median. The gap between mean and median is itself a critical insight. When they diverge substantially, the distribution is skewed, and the mean alone is misleading. In business data — revenue, transaction values, customer tenure — right skew is the norm, not the exception. A company with a mean customer lifetime value of $800 and a median of $120 has a strategic concentration story, not just a statistics fact.
-
Standard deviation measures predictability. For business audiences, frame standard deviation as how predictable a process is. A call center with a mean handle time of 6 minutes and a standard deviation of 1 minute is staffable. The same mean with a standard deviation of 8 minutes is chaos. Predictability is a business-friendly translation of a mathematical concept.
-
Skewness and kurtosis matter more than most analysts realize. Skewness tells you whether the mean is trustworthy. Kurtosis tells you whether your risk models are trustworthy. A distribution with high kurtosis will produce extreme events far more often than a normal distribution predicts — which is why financial models that assume normality tend to catastrophically underestimate tail risk.
Data Visualization
-
Every chart must pass the "So What?" test. A chart that nobody acts on is a chart that failed. Professor Okonkwo's test requires that every visualization answer three questions: What does it show? Why does it matter? What should we do about it? The fastest way to pass this test is to make the chart title state the insight, not describe the data. Not "Revenue by Quarter" but "Q3 Revenue Dropped 12%, Driven by European Markets."
-
Maximize the data-ink ratio; eliminate chartjunk. Edward Tufte's principle is straightforward: of all the visual elements in a chart, the proportion that represents actual data should be as high as possible. 3D effects, gradient fills, unnecessary gridlines, and decorative elements do not just waste space — they actively interfere with comprehension. The two most impactful small changes: remove top and right spines, and add value labels directly on bars.
Correlation and Relationships
- Correlation does not imply causation — but it does imply investigation. A strong correlation is not proof of a causal relationship, but it is a signal worth pursuing. The three deadly sins of correlation analysis are: (1) assuming causation from correlation alone, (2) ignoring nonlinear relationships that the correlation coefficient misses entirely, and (3) being fooled by outlier-driven correlations in small samples. The remedy for all three is the same: always look at the scatter plot.
Missing Data
- The reason data is missing is often more important than the data itself. The MCAR/MAR/MNAR framework is not an academic classification exercise — it determines whether your analysis will be biased. When high-value customers are more likely to skip survey questions, when sickest patients miss follow-up appointments, when failing products get discontinued before data accumulates — the missingness pattern contains strategic information. Never impute missing values without asking why they are missing.
Data Storytelling
- Analysis is not complete until someone who never saw the data understands what it means. The SCQA framework (Situation, Complication, Question, Answer) transforms raw EDA findings into narratives that drive decisions. The difference between a data analyst and a data leader is not technical sophistication — it is the ability to translate quantitative findings into stories that change minds and allocate budgets.
The EDAReport Class
- Build reusable tools. The
EDAReportclass demonstrated in this chapter automates the mechanical parts of EDA — shape summaries, missing data reports, descriptive statistics, distribution plots, correlation heatmaps, and executive summaries — so that your cognitive energy goes to interpretation, not computation. As your career progresses, the Python tools you build for yourself become your competitive advantage.
The Athena Thread
- EDA reshapes strategy, not just analysis. Ravi Mehta's team at Athena Retail Group discovered three findings through EDA that redirected the company's entire AI roadmap: online customers were high-value but high-churn (reshuffling project priorities), returns were driven by product category rather than customer type (redirecting the solution from AI to UX), and customer satisfaction scores did not predict purchasing behavior (triggering a survey redesign). Each finding killed an assumption the business had been operating on. That is the power of EDA — not the charts themselves, but the assumptions they challenge.
Connecting Forward
- EDA feeds everything that follows. The patterns, correlations, and data quality assessments from this chapter directly inform the machine learning pipeline that begins in Chapter 7. The churn prediction model we'll build there will use features identified through EDA, handle missing data using strategies evaluated through EDA, and be evaluated against baselines established through EDA. Every model is built on an EDA foundation — the only question is whether that foundation was built deliberately or accidentally.
One Sentence to Remember
"The model is only as good as the understanding behind it — and understanding begins with looking at the data."