01 · Cleaning1,998 → 1,992 rows
Excel serial dates converted; spaces and commas stripped; 2 blank costs, 1 cost of 50,000,000 and 3 dates years away from the rest removed; name typos fixed. 01_clean.py
02 · EDASales, profit, margin
By city, rep, store, product, month and weekday; city × product matrix; discovery of the 10 fixed margin tiers. 02_eda.py
03 · Visualization7 charts
Matplotlib / Seaborn charts plus this interactive dashboard. 03_visualization.py
04 · ForecastLinear Regression vs Random Forest
City-month model with lags and seasonality, time-based split, naive baseline. RF: MAE ≈ 50K, MAPE 13.4%. 04_ml_model.py
05 · CloudBigQuery + Looker Studio
SAFE_CAST cleaning, DATE_ADD date conversion, window functions and a BigQuery ML ARIMA_PLUS forecast. sql/
06 · DashboardYour data, your browser
This page re-applies the same cleaning rules to any uploaded file, entirely client-side. site/app.js