beginnerintro

What is EDA?

Exploratory Data Analysis. Looking at your data before you break it.

Key Points

What it is

EDA is you visually and quantitatively poking at a dataset to understand what's going on. You look at distributions, spot missing values, find outliers, check correlations, and start forming guesses. It happens before any formal modelling. Some people call it 'data gardening'. You're getting to know the soil before you decide what to plant.

Why it exists

You don't know what's in a dataset until you look. Averages hide outliers. Correlations mislead without visualisation. Missing values surprise you. EDA exists to stop you from building a complex model on data that has a column full of 'NaN' or 'male' and 'mle' typos.

Intuition

EDA is like being a detective arriving at a crime scene. You don't immediately accuse someone, which would be testing a hypothesis. Instead, you walk around, take photos (histograms), look for footprints (relationships), check the time (distributions), and note broken windows (missing values). Only after you understand the scene do you form a theory. Jumping straight to modelling without EDA is like blaming the butler before you've even seen the body.

Example

You load a customer dataset. First, `df.info()` shows 'age' has 200 missing values. You plot age distribution. It's bimodal: two peaks, young adults and retirees. Then you notice 'income' has a negative value, a data entry error.

In five minutes of EDA, you found data quality issues (missing age, negative income) and a meaningful pattern (two age groups that might behave differently). That shapes everything: how you fill missing values, whether you build separate models per age group, and what features to create.

When to use

Common mistakes

Notes

In practice

EDA is the 'Explore' step in the workflow. It's the first thing you do in any analysis notebook. Tools like pandas profiling can automate parts, but you always need human eyes.

Was this concept helpful?

Spot an error or gap? Suggest an edit →

Related concepts

ds-workflowtypes-of-datastatisticsdata-vs-information-vs-insight
Chirp at me!