GithubHelp home page GithubHelp logo

alexalcon / used_vehicle_sales_data_analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.16 MB

This repository contains the code and analysis for evaluating a dataset related to the purchase and sale of used vehicles. The analysis includes calculating profit margins and evaluating inventory times. The goal is to derive actionable insights to aid in business decision-making.

Python 100.00%

used_vehicle_sales_data_analysis's Introduction

Data Analysis Report: Used Vehicle Sales

Overview

This repository contains the code and analysis for evaluating a dataset related to the purchase and sale of used vehicles. The analysis includes calculating profit margins, evaluating inventory times, assessing market demand, and understanding buyer profiles. The goal is to derive actionable insights to aid in business decision-making.

Repository Structure

The repository is structured into several directories, each corresponding to a specific objective of the analysis:

.
├── objective_analysis_1
│ ├── data
│ │ └── profit_by_brand_model.csv
│ ├── results
│ │ ├── profit_margin_by_brand_and_model_bar_chart.png
│ │ └── profit_by_brand_and_model_table.png
│ ├── scripts
│ │ ├── profit_and_profit_margin.py
│ │ └── profit_and_profit_margin_table.py
│ └── README.md
├── objective_analysis_2
│ ├── data
│ │ └── inventory_time_by_brand_model.csv
│ ├── results
│ │ ├── inventory_time_by_brand_and_model_bar_chart.png
│ │ └── inventory_time_by_brand_and_model_table.png
│ ├── scripts
│ │ ├── inventory_time_analysis.py
│ │ └── create_inventory_time_table.py
│ └── README.md
├── report.pdf
├── reporte.pdf
└── README.md

Objectives and Methodologies

Objective 1: Profit Margin Analysis

Goal: Calculate the average profit margin for each vehicle.

Methodology:

  1. Calculate the profit for each transaction by subtracting the purchase price from the sale price.
  2. Calculate the profit margin for each transaction.
  3. Calculate the average profit margin across all transactions.
  4. Identify brands and models with the highest profit margins.

Objective 2: Inventory Time Analysis

Goal: Determine which vehicles have the shortest and longest average inventory times.

Methodology:

  1. Calculate the average inventory time for each brand and model.
  2. Identify which vehicles sell the fastest and which take the longest to sell.

Usage

Setting Up the Virtual Environment

  1. Clone the repository:

    git clone https://github.com/your-username/used-vehicle-sales-analysis.git
  2. Create a Python virtual environment with the following Prerequisites:

    • Python 3.12.0
    • Pandas
    • Matplotlib

used_vehicle_sales_data_analysis's People

Watchers

Alex Alcón avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.