---
title: "A Five-Step Guide for Conducting Exploratory Data Analysis"
description: "Exploratory data analysis can follow a five-step framework: understand context and dataset size, check for missing data, describe and classify features as continuous, discrete or categorical, examine distributions and time trends, and identify correlations."
url: "https://swe.quest/articles/a-five-step-guide-for-conducting-exploratory-data-analysis-3c4e43a9ff125846"
canonical: "https://shopify.engineering/conducting-exploratory-data-analysis"
source: "Shopify Engineering"
published: "2021-04-28"
difficulty: "medium"
kind: "How-to"
reading_minutes: 16
tags: ["analytics","machine-learning"]
---

# A Five-Step Guide for Conducting Exploratory Data Analysis

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2021-04-28, 16 min read, How-to. Original: [https://shopify.engineering/conducting-exploratory-data-analysis](https://shopify.engineering/conducting-exploratory-data-analysis)

## Summary

Exploratory data analysis can follow a five-step framework: understand context and dataset size, check for missing data, describe and classify features as continuous, discrete or categorical, examine distributions and time trends, and identify correlations. The walkthrough uses a synthetic Shopify merchant dataset. It recommends ranking features by missing-value counts and treating missingness as a possible signal rather than dropping features. It also covers imputation choices for time series, using PDFs and PMFs to spot skew and multimodality, and Pearson correlation matrices, autocorrelation and contingency tables for finding relationships. Throughout, it advises keeping running summary notes and forming hypotheses for each pattern.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)

## Prerequisites

- basic statistics
- pandas or Jupyter notebooks

## Keywords

exploratory data analysis, Jupyter, Pearson correlation, imputation, Shopify

## Related posts

- [ClickHouse forecasting and anomaly detection with time series foundation models](https://swe.quest/articles/clickhouse-forecasting-and-anomaly-detection-with-time-series-foundation-models-71a24c218275d2ec.md): ClickHouse · 2026-11-17 · Medium · 11 min read · Analytics & OLAP, Machine learning, Inference & serving, SQL
  TimesFM 3.0, a pretrained time-series foundation model, can be called from ClickHouse SQL via executable Python UDFs that forward arrays to an HTTP model server, giving zero-shot forecasts and anomaly scores without per-series training.
- [10 Lessons Learned From Online Experiments](https://swe.quest/articles/10-lessons-learned-from-online-experiments-ddcc212d6c480867.md): Shopify Engineering · 2021-06-17 · Medium · 12 min read · Analytics & OLAP, Testing, E-commerce
  Ten practical lessons from a year of online A/B experiments on Shopify's multi-currency, geolocation and translation features.
- [Modeling Machine Learning Data in OLAP databases](https://swe.quest/articles/modeling-machine-learning-data-in-olap-databases-0fad2c579add8f45.md): ClickHouse · 2024-08-08 · Medium · 26 min read · ML platforms, Analytics & OLAP, SQL, Data pipelines
  ClickHouse can act as the transformation engine and offline store of an ML feature store, with features modeled as timestamped tables and assembled into point-in-time correct training sets.
- [Introducing the Data Measurements Tool: an Interactive Tool for Looking at Datasets](https://swe.quest/articles/introducing-the-data-measurements-tool-an-interactive-tool-for-looking-at-28723606ed6df7ae.md): Hugging Face · 2021-11-29 · Easy · 7 min read · Machine learning, Model training, Python, Open source
  Hugging Face's Data Measurements Tool is an open-source Python library and no-code Streamlit interface for measuring, exploring and comparing NLP datasets on the Hub.
- [5 Steps for Building Machine Learning Models for Business](https://swe.quest/articles/5-steps-for-building-machine-learning-models-for-business-9d6ce609a5ab2c3d.md): Shopify Engineering · 2021-08-25 · Medium · 15 min read · Machine learning, ML platforms, Evaluation
  A five-step workflow for building ML models in a business context: confirm ML is warranted (defer it for brand-new products and beat a heuristic baseline first), start with simple models and basic features or off-the-shelf pretrained components, and pick a metric tied to business impact before optimizing.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
