Exploratory Data Analysis

A systematic approach to understanding a new dataset: distributions, relationships, segments, time patterns and anomalies.

Intermediate · about 8 hours · difficulty 3/5

Learn first: Reshaping and Combining Data, Correlation, Causation and Confounding

Exploratory data analysis (EDA) is structured curiosity. Before testing hypotheses or building dashboards, you get to know the data well enough to spot what is interesting and what is broken.

A repeatable EDA routine

  1. Shape and grain: how many rows, what does one row represent, what time span?
  2. Univariate: distribution of each important column. Histograms for numbers, bar charts of value counts for categories. Note skew, spikes and suspicious values.
  3. Bivariate: how key variables relate to the outcome you care about. Scatter plots, box plots by group, cross-tabs, correlation matrices.
  4. Time: trends, seasonality, sudden jumps (often tracking changes, not real behaviour).
  5. Segments: break down by the dimensions that matter to the business (plan, region, channel, cohort).
  6. Anomalies: outliers, gaps, and anything that contradicts what stakeholders believe.

Keep a question log

Write down every question and observation as you go ("refunds spike every Monday, why?"). The best ones become the core of your analysis; the rest become caveats.

Tools

pandas plus Seaborn covers most EDA. Automated profiling tools such as ydata-profiling produce a quick overview report; use them as a starting point, not a substitute for thinking.

Pitfall: endless exploration without a goal. Time-box EDA, then pick two or three findings to investigate properly. Move on when you can deliver a short EDA summary of a new dataset in an afternoon, with clear observations and open questions.

Key concepts

  • Grain, shape and time span
  • Univariate distributions
  • Bivariate relationships
  • Time trends and seasonality
  • Segmentation
  • Anomaly spotting
  • Question logs
  • Automated profiling tools

Mini project

Perform a full EDA on the Kaggle 'Telco Customer Churn' dataset, ending with a one-page summary of the five strongest patterns associated with churn and three open questions.

Check yourself

You see a sudden 40% jump in daily events on one date. What would you check before calling it real user behaviour?

Free resources