# Exploratory Data Analysis

> A systematic first pass over a new dataset to understand its shape, quality, target and the relationships worth modelling. Free notes, key concepts, resources...

Canonical: https://www.internhack.in/roadmaps/tracks/machine-learning/exploratory-data-analysis
Last updated: 2026-11-28

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](https://www.internhack.in/roadmaps/tracks/machine-learning/data-visualization), [Statistics for Data Science](https://www.internhack.in/roadmaps/tracks/machine-learning/statistics)

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](https://www.kaggle.com/learn) (Kaggle)
- [pandas user guide](https://pandas.pydata.org/docs/user_guide/) (pandas)

Previous: [Optimization and Gradient Descent](https://www.internhack.in/roadmaps/tracks/machine-learning/optimization) · Next: [Data Cleaning and Missing Values](https://www.internhack.in/roadmaps/tracks/machine-learning/data-cleaning)

## More in From Raw Data to Model-Ready Features

- [Exploratory Data Analysis](https://www.internhack.in/roadmaps/tracks/machine-learning/exploratory-data-analysis)
- [Data Cleaning and Missing Values](https://www.internhack.in/roadmaps/tracks/machine-learning/data-cleaning)
- [Feature Engineering](https://www.internhack.in/roadmaps/tracks/machine-learning/feature-engineering)
- [Encoding Categories and Scaling Numbers](https://www.internhack.in/roadmaps/tracks/machine-learning/encoding-and-scaling)
- [Train/Validation/Test Splits and Data Leakage](https://www.internhack.in/roadmaps/tracks/machine-learning/splits-and-leakage)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Machine Learning Engineer Roadmap](https://www.internhack.in/roadmaps/tracks/machine-learning)
