EDA stands for exploratory data analysis. It is the first step in a data science project: you summarize and visualize a dataset to understand its structure, check its quality, find outliers and see how variables relate, before building any model. (In chip design, EDA means electronic design automation, which is unrelated.)
The term comes from statistician John Tukey. The goal is not a polished report but answers to practical questions: is the data fit for the question, what is wrong with it, and which approach is worth trying.
What Does Exploratory Data Analysis Mean?

EDA combines summary statistics, transformation and visualization to examine data from several angles. It works on numerical, categorical and text data, and it normally happens before hypothesis testing or formal modeling.
Why EDA Matters in Data Science
- Checks the data fits the problem. If the data cannot answer the business question, you learn that before spending weeks on a model.
- Finds quality issues: duplicates, missing values, wrong types and impossible values.
- Summarizes distributions: mean, median, spread, skewness.
- Detects outliers that can distort models or reveal real events such as fraud.
- Shows relationships between variables, which guides feature selection.
- Points to suitable models, for example whether a linear model is plausible or clusters are visible.
EDA Techniques

Descriptive Statistics
Mean, median and mode describe the center. Variance and standard deviation describe spread. Standard deviation is the square root of variance, and the median is the safer center when data is skewed or has outliers. Skewness measures asymmetry, and kurtosis measures how heavy the tails are compared with a normal distribution.
Data Visualization
Plots reveal what summary numbers hide. Histograms show distribution shape, box plots show spread and outliers, scatter plots show relationships between two numeric variables, and heatmaps show a correlation matrix at a glance.
Correlation Analysis
Pearson correlation measures linear association. Spearman and Kendall measure rank association and cope better with non-linear but monotonic relationships. Correlation does not show causation.
Outlier Detection
A common rule flags points more than 1.5 times the interquartile range (IQR) beyond the first or third quartile. Box plot whiskers use the same rule. Z-scores are another option when data is roughly normal. Investigate outliers before deleting them: they are sometimes errors and sometimes the most interesting rows.
Dimensionality Reduction
Principal component analysis (PCA) and linear discriminant analysis (LDA) reduce many variables to a few while keeping most of the information, which helps visualization and modeling.
Clustering
K-means, hierarchical clustering and DBSCAN group similar records and expose natural segments, such as customer groups.
Types of EDA
- Univariate, non-graphical: summary statistics for one variable (center, spread, skewness, kurtosis).
- Univariate, graphical: histograms, stem-and-leaf plots, box plots and Q-Q plots. A Q-Q plot compares your data with a normal distribution; points on the line suggest normality.
- Multivariate, non-graphical: cross-tabulations for two categorical variables and grouped statistics.
- Multivariate, graphical: grouped bar charts, scatter plots, run charts for change over time, bubble charts for a third variable, and heatmaps.
EDA Steps in Python: Iris Dataset Example
This example uses pandas and the Iris dataset that ships with scikit-learn.
Step 1: Load and Inspect the Data
import pandas as pd
from sklearn import datasets
iris = datasets.load_iris(as_frame=True)
df = iris.frame
Then check df.shape, df.columns, df.head(), df.info() and df.describe() for size, types and summary statistics.
Step 2: Clean the Data
Count missing values with df.isna().sum(), then impute, drop or flag them depending on why they are missing. Check df.duplicated().sum(), fix wrong types and look for outliers. Iris is already clean, but real business data rarely is.
Step 3: Explore Relationships
Compute df.corr(), draw a heatmap and scatter plots, and compare groups with df.groupby('target').mean(). For a one-command report, the profiling package that began as pandas-profiling is a common choice. Its repository now notes the project has been renamed again, to fg-data-profiling, so check the project page for the current install name before you use it.
Visual Techniques and When to Use Them

- Histogram: distribution of one numeric variable.
- Box plot: median, quartiles and outliers, good for comparing groups.
- Heatmap: correlation matrix or a variable across two categories.
- Bar chart: counts or values per category.
- Line chart: a metric over time.
- Pie chart: shares of a whole, only with a few categories.
EDA Tools

- Spreadsheets (Excel, Google Sheets): quick checks on small data.
- Python and R: pandas, matplotlib, seaborn and scikit-learn in Python; the tidyverse in R. Julia and MATLAB are alternatives.
- BI tools (Power BI, Tableau, Qlik): interactive dashboards and sharing with non-technical teams.
- Data mining suites (KNIME, RapidMiner, Weka): visual workflows without much code.
- Cloud platforms (AWS, Google Cloud, Azure): storage and compute for data that does not fit on a laptop.
- GIS tools (QGIS, ArcGIS): geospatial data.
How We Approach EDA at Webisoft
Webisoft is a Montreal software firm founded in 2016 that builds AI and machine learning and custom software. In our projects, EDA is where we decide whether an AI idea is feasible. Practical habits:
- Start with the business question, then check whether the data can answer it.
- Ask how the data was collected. Missing values are often a process issue, not noise.
- Check for leakage: columns that contain the answer or are only known after the event.
- Keep the notebook reproducible so findings can be re-run when the data refreshes.
- Share findings with domain experts who can explain odd values.
If you want help turning raw data into a working system, see our AI services or contact us.
Final Words
EDA turns an unknown dataset into something you can reason about. Check quality, summarize and plot each variable, study relationships, and write down what you find before modeling.

