Python Data Visualization, SQL Connectivity & EDA
Back to THE SYSTEMATIC EXPLORATORY DATA ANALYSIS (EDA) WORKFLOW

LAB 3: Data Ingestion, Profiling & Systematic Outlier Detection

Combine 6 monthly sales CSV exports, build an auditable cleaning ledger, detect Tukey IQR outliers, and perform basket analysis.

50 minutesProject submission
🎯 Free Guest Mode: You are learning for free. Sign in to save your completion progress and quiz answers.

Assignment Instructions

Module 3 Hands-On Lab: Data Ingestion, Profiling & Systematic Outlier Detection

Execute the complete 6-step Exploratory Data Analysis blueprint on dirty, multi-file retail exports.

Download Starter Notebook: 03_data_cleaning_and_systematic_eda_starter.ipynb


Scenario & Business Context

Northstar Retail has provided six monthly sales CSV exports containing corrupt dates, missing customer IDs, duplicate lines, and repeated header rows. You must profile the dataset, build an auditable cleaning ledger, and perform outlier sensitivity analysis.

What You Will Build & Demonstrate

TaskDeliverablePoints
T01 · Combine six monthly exportsFile discovery via glob(), batch concatenation, row ledger3
T02 · Profile before fixing.info(), deep memory audit, missingness percentages, duplicate line counts3
T03 · Clean with an auditable row ledgerclean_sales, quarantine, stage-by-stage audit counts6
T04 · Define valid sales & order grainDistinguish line items from distinct purchases (sales vs orders)3
T09 · Inspect distributions & flag IQR outliersTukey IQR calculation ($Q1 - 1.5 \times IQR$, $Q3 + 1.5 \times IQR$)4
T10 · Compare keeping, capping and filteringOutlier sensitivity analysis on total business revenue3
T11 · Answer monthly, hourly & geographic questionsPeak purchasing hours, regional sales shares, category leaders5
T12 · Count products bought togetherMarket basket analysis (combinations, Counter) on multi-item orders4

Total Points Available: 31 points (Pass: 80% / 25 pts)

Submission Guidelines

  1. Download the starter notebook .ipynb.
  2. Run the local raw CSV generator cell (generates the 6 monthly files locally).
  3. Complete the cleaning, profiling, outlier detection, and basket tasks.
  4. Upload your completed .ipynb file below.
Checking your access…