gezielcarvalho / python-retail

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Retail Network Analysis

This repository contains Jupyter notebooks with solutions for analyzing a dataset about a retail network that sells various products in several cities across the USA. The notebooks provide solutions for 10 business questions derived from the dataset.

Dataset Description

The dataset contains information about sales transactions, including the products sold, sales values, order dates, cities, states, and segments.

Business Questions

  1. City with Highest Sales Value of 'Office Supplies' Category: Identify the city with the highest sales value of products in the 'Office Supplies' category.

  2. Total Sales by Order Date: Calculate the total sales for each order date and visualize the results using a bar chart.

  3. Total Sales by State: Determine the total sales for each state and visualize the results using a bar chart.

  4. Top 10 Cities with Highest Total Sales: Identify the top 10 cities with the highest total sales and visualize the results using a bar chart.

  5. Segment with Highest Total Sales: Determine which segment had the highest total sales and visualize the results using a pie chart.

  6. Total Sales by Segment and Year: Calculate the total sales for each segment and year.

  7. Number of Sales Eligible for 15% Discount: Simulate sales eligible for a 15% discount based on specified criteria.

  8. Average Sales Value Before and After 15% Discount: Calculate the average sales value before and after applying a 15% discount.

  9. Average Sales by Segment, Year, and Month: Calculate the average sales for each segment, year, and month and visualize the results using a line chart.

  10. Total Sales by Category and Subcategory (Top 12): Determine the total sales for each category and subcategory, considering only the top 12 subcategories, and visualize the results using a single chart.

Usage

To explore the solutions for the business questions, navigate to the respective Jupyter notebook files in this repository. Each notebook provides code implementations and visualizations for answering the corresponding question.

About


Languages

Language:Jupyter Notebook 100.0%