Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 Data Analysis — Used Cars Dataset (EDA & Cleaning)

📌 Overview

This project focuses on Exploratory Data Analysis (EDA), data cleaning, and feature preparation of a dataset containing used vehicles listed for sale in the United States.

The goal is to transform raw automotive data into a clean, structured dataset ready for machine learning tasks such as price category prediction and further modeling.


🎯 Objectives

  • Data cleaning and preprocessing
  • Handling missing values and incorrect data types
  • Detecting and removing outliers
  • Exploring relationships between key variables
  • Feature preparation for machine learning models
  • Analysis of factors influencing vehicle pricing

🗂 Dataset

The dataset contains information about used cars, including:

  • price — vehicle price
  • year — year of manufacture
  • manufacturer — brand
  • model — car model
  • condition — condition of the vehicle
  • cylinders — number of cylinders
  • fuel — fuel type
  • odometer — mileage
  • transmission — transmission type
  • drive — drive type
  • size, type, paint_color — categorical features
  • price_category — low / medium / high price class

🔍 Workflow

🧹 Data Cleaning

  • Handling missing values
  • Fixing incorrect data types
  • Removing duplicates and anomalies

📉 Outlier Detection

  • Boxplots and IQR method
  • Removal of extreme price and mileage values

📊 Exploratory Data Analysis

  • Price distribution analysis
  • Price vs vehicle age relationship
  • Correlation analysis (Pearson)
  • Manufacturer and transmission insights

⚙️ Feature Analysis

  • Feature importance evaluation
  • Removal of low-impact features
  • Dataset preparation for modeling

📈 Key Insights

  • Newer cars tend to be significantly more expensive
  • Outliers often represent luxury or rare vehicles
  • Mileage and manufacturer strongly influence price
  • Price categories clearly segment the market

🧠 Tech Stack

  • Python
  • Pandas
  • Matplotlib
  • Jupyter Notebook
  • Scikit-learn

🚗 Result

The dataset was successfully cleaned and prepared for machine learning.
EDA revealed clear patterns in pricing behavior and key factors affecting vehicle value.


👩‍💻 Author

Lada Bahdanovich

About

Data cleaning and exploratory data analysis of used cars dataset, including outlier handling, feature preparation, and visualization of factors affecting vehicle prices.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages