Exploratory Data Analysis
A systematic first pass over a new dataset to understand its shape, quality, target and the relationships worth modelling.
Beginner · about 6 hours · difficulty 2/5
Learn first: Visualization with Matplotlib and Seaborn, Statistics for Data Science
EDA is where you form hypotheses and find problems cheaply. Skipping it leads to models that learn from IDs, duplicated rows or data-entry artifacts.
A repeatable checklist
- Shape and schema: rows, columns, dtypes, what one row represents.
- Target: distribution, class balance, how and when it was recorded.
- Missingness: which columns, how much, and whether missingness itself correlates with the target.
- Univariate views: ranges, outliers, impossible values (negative ages, dates in the future).
- Bivariate views: each feature against the target; correlations among features.
- Duplicates and leakage suspects: columns that look too predictive usually encode the answer.
Output
Write down findings as a short list of decisions: which columns to drop, how to handle missing values, which features to engineer. EDA without written conclusions is sightseeing.
Good enough to move on when you can open an unfamiliar Kaggle dataset and, within an hour, produce a notebook with key plots and a clear list of data issues and modelling ideas.
Key concepts
- Schema and unit of analysis
- Target distribution
- Missingness patterns
- Outliers and impossible values
- Feature-target relationships
- Automated profiling tools: ydata-profiling and similar
Mini project
Run a full EDA on the Kaggle House Prices (Ames) dataset and finish the notebook with a written list of ten concrete cleaning and feature decisions.
Check yourself
You find a column that alone predicts the target with 99% accuracy. What should you investigate before celebrating?
Free resources
- Kaggle Learn courses (Kaggle)
- pandas user guide (pandas)