This project performs an end-to-end sales and time-series analysis on weekly sales data of Walmart collected from Kaggle, covering the period from February 2010 to December 2012. The analysis focuses on understanding seasonality, holiday effects, and store-level performance, converting raw retail sales data into business-relevant insights using Python. Kaggle link for dataset: https://www.kaggle.com/datasets/mikhail1681/walmart-sales
- Analyse weekly sales trends across stores
- Identify seasonal and holiday-driven demand patterns
- Compare performance across different stores
- Understand sales volatility and consistency
- Translate sales data into actionable retail insights
- Records: 6,000+ weekly entries
- Time period: Feb 2010 – Dec 2012
- Granularity: Store-week level
- Key attributes:
- Store
- Weekly sales
- Holiday flag
- Date
📌 The dataset enables time-series and retail demand analysis.
- Python
- Pandas
- NumPy
- Visualization
- Matplotlib
- Seaborn
- Jupyter Notebook
- Dataset shape and structure
- Store-wise record distribution
- Sales range and variability
- Initial trend inspection
Key steps performed:
- Converted date column to datetime format
- Sorted data chronologically
- Validated sales values
- Handled missing or inconsistent records
- Ensured correct data types for analysis
- Extracted year, month, and week from date
- Classified holiday vs non-holiday weeks
- Created aggregated metrics:
- Average weekly sales
- Holiday vs non-holiday sales comparison
- Store-level summary statistics
- Weekly sales movement over time
- Overall trend and fluctuations
- Monthly and yearly sales patterns
- Recurring seasonal peaks
- Sales comparison: holiday vs non-holiday weeks
- Magnitude of holiday-driven demand
- High-performing vs low-performing stores
- Consistency and volatility across stores
- Sales exhibit strong seasonal patterns
- Holiday weeks consistently outperform non-holiday weeks
- Certain stores show stable performance, while others are highly volatile
- Demand spikes are predictable around specific periods
┣ 📂 data ┃ ┗ Walmart.csv ┣ 📂 notebooks ┃ ┗ Walmart(Insights).ipynb ┃ ┗ Walmart(Visuals).ipynb ┣ 📄 README.md ┣ 📄 requirements.txt ┗ 📄 .gitignore