A data analysis project examining the effectiveness of discount strategies for Eniac, a tech retailer. This project analyzes sales data to determine whether discounts increase or decrease overall revenue.
Eniac's board is debating whether to continue offering discounts. Some believe discounts drive sales, while others think they reduce revenue without increasing customer loyalty. This analysis uses real sales data to provide data-driven insights.
- Black Week Performance: Revenue per day was significantly higher during Black Week compared to non-promotional periods
- Discount Impact: Moderate discounts (~20-25%) proved most effective
- Customer Behavior: Higher basket values and multi-product orders during promotional periods
- Recommendation: Continue strategic discounts during key marketing events (Black Friday, Christmas)
eniac-discount-strategy/
├── notebooks/
│ ├── 01_explore_brands.ipynb # Brand data exploration
│ ├── 02_explore_orders.ipynb # Orders data exploration
│ ├── 03_explore_orderlines.ipynb # Order lines exploration
│ ├── 04_explore_products.ipynb # Products data exploration
│ ├── 05_merge_dataframes.ipynb # Data merging pipeline
│ ├── 06_price_pattern_analysis.ipynb # Pattern discovery
│ ├── 07_fix_price_formats.ipynb # Price format cleaning
│ └── 08_discount_analysis.ipynb # Final discount analysis
├── data/
│ ├── raw/ # Original CSV files
│ └── processed/ # Cleaned/merged datasets
├── docs/
│ └── case_study_final_presentation.pdf # Final team presentation
├── requirements.txt
└── README.md
- Exploration (Notebooks 01-04): Analyze each data source independently
- Merging (Notebook 05): Combine brands, orders, orderlines, and products
- Pattern Analysis (Notebook 06): Discover price format issues (European number formats with dots as thousand separators)
- Cleaning (Notebook 07): Fix price formats based on pattern analysis
- Discount Analysis (Notebook 08): Final discount effectiveness analysis
- Python 3.11
- pandas - Data manipulation
- seaborn - Statistical visualizations
- matplotlib - Plotting
# Clone the repository
git clone https://github.com/Robin-Reiche/eniac-discount-strategy.git
# Navigate to project
cd eniac-discount-strategy
# Install dependencies
pip install -r requirements.txtRun the notebooks in numerical order (01-08) to reproduce the analysis:
jupyter notebook notebooks/Source: Provided by WBS Coding School as course material
| File | Description | Rows |
|---|---|---|
| brands.csv | Brand information | - |
| orders.csv | Order transactions | ~227K |
| orderlines.csv | Individual order items | ~293K |
| products.csv | Product catalog | - |
Robin Reiche — Data Science Portfolio Project
This project is for educational and portfolio purposes.