← blog

exploratory data analysis with pandas & plotly

February 14, 2025 · 9 min read

Good EDA is the difference between a model that generalises and one that memorises noise. Here's the systematic workflow I follow on every new dataset.

step 1 — shape & types

Before anything else, understand what you have: dtypes, shape, and a sample of rows...

step 2 — missing values

Missing data is rarely random. Visualising missingness patterns with missingno reveals structure...

step 3 — distributions

Histograms and KDE plots expose skew, bimodality, and outliers. Plotly Express makes these interactive with one line...

step 4 — correlations

A Plotly heatmap of Pearson/Spearman correlations quickly surfaces multicollinearity...

step 5 — target analysis

Always analyse the target variable last, conditioning other distributions on it to reveal predictive signal.

pandas · plotly · eda

more

end-to-end machine learning pipelines in pythonfeature engineering techniques that actually move the needlebuilding autonomous ai agents with langchain & react