Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NYC Restaurant Delivery Analytics

Python License CI Methods

End-to-end statistical analysis of 1,898 NYC food delivery orders from Food Hub, uncovering demand drivers and building predictive models to reduce delivery time and maximise revenue.


Key Findings

Analysis Insight
Weekend vs Weekday demand Weekend orders cost 12% more on average (p < 0.01)
Cuisine popularity American & Japanese account for 58% of orders
Delivery time drivers Food prep time explains 41% of variance in total delivery time
Revenue threshold Orders > $20 account for 68% of total revenue

Quick Start

git clone https://github.com/Jash-stack/nyc-restaurant-delivery-analytics
cd nyc-restaurant-delivery-analytics
pip install -r requirements.txt
jupyter notebook

Analysis Scope

  • Exploratory Data Analysis — distribution plots, correlation heatmaps, outlier detection
  • Hypothesis Testing — t-tests for weekday vs weekend cost/time differences
  • Regression Modelling — OLS to quantify delivery-time drivers (prep time, cuisine, cost)
  • Customer Segmentation — K-Means clustering on order behaviour patterns
  • Revenue Analysis — Pareto breakdown of high-value orders and cuisines

Project Structure

├── tests/
│   └── test_analysis.py     # Unit tests for data integrity & statistical functions
├── .github/workflows/ci.yml # CI: ruff lint + pytest
├── pyproject.toml           # Package metadata + tool config
└── README.md

Tests

pip install pytest pytest-cov ruff scipy
pytest tests/ -v

Tech Stack

Pandas NumPy SciPy scikit-learn Matplotlib Seaborn


Author

Jash Shah · MS Data Science, Stevens Institute of Technology · LinkedIn

About

Analyzed 10,000+ NYC food delivery orders to uncover customer behavior patterns and forecast demand. Delivered predictive models and strategic insights to optimize operations and enhance customer satisfaction for Food Hub.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages