Data Science

Look at your data before you model it

By Reetu Poudel · 3 December 2026 · 5 min read

The fastest way to a wrong answer is to fit a model before you have looked at the data. Here is the look I take first.

Everyone wants to get to the model. It is the fun part. But almost every bad result I have seen traces back to a dataset nobody really looked at. Exploratory data analysis (EDA) is not a formality — it is where you find the problems that would otherwise hide inside a confident-looking accuracy score.

The first five minutes

Before anything clever, I answer boring questions:

Look at distributions, not just means

A mean hides everything interesting. I plot histograms and boxplots because the shape tells me what the summary cannot: is it skewed, bimodal, full of outliers? A variable that looks fine as "mean 50" might actually be two clusters at 10 and 90 — and a model will quietly average them into nonsense.

Relationships, carefully

Scatter plots and a correlation check show which variables move together. But I hold the conclusions loosely: correlation hints at structure, it does not prove cause, and a strong correlation between two features often just means I am about to leak information into my model.

Write down what you found

EDA that lives only in your head is wasted. I keep a short note: the oddities, the decisions (why I dropped a column, how I treated an outlier), and the questions still open. When the model later does something strange, that note is the first place I look.

Good EDA is not about pretty charts. It is about earning the right to trust your own results. Spend the time here and the modelling gets easier, honester, and a lot less surprising.

EDAData ScienceData CleaningPandas
← All posts