Jovian
Sign In

Used Cars Eda Organised Final

Exploratory Data Analysis of Used car listings on Craigslist

Introduction

Craigslist is an American classified advertisements website with sections devoted to jobs, housing, for sale, items wanted, services, community service, gigs, résumés, and discussion forums.It is also the world's largest collection of used vehicles for sale.

Outline

  • Data pre-processing
  • Answer questions and gain insights on the dataset obtained
  • Summary
  • Future Work
  • References

In this project, we will ask and answer interesting questions and create interactive visualisations to showcase our findings. We will try to uncover interesting trends and find out why they are so.

We will use libraries like pandas, plotly and folium amongst others.

alt

About the data

In this project, we will use the 'Used Cars Dataset' Austin Reese, available on Kaggle scraped from the classified advertisements website Craigslist

The dataset contains one csv file named vehicles.csv with a size of 1.45 GB. It contains relevant information that Craigslist provides on car sales including columns like price, condition, manufacturer, latitude/longitude, and 18 other categories.

The dataset contains a total of 26 columns, listed below are the 17 columns relevant to our analysis.

  1. region: Region from where the listing is made.
  2. price:Asking price for the vehicle in the listing.
  3. year:Year of registration of the vehicle listed.
  4. manufacturer: Make of the vehicle listed.
  5. model: Model name of the vehicle listed.
  6. condition: Condition of the vehicle listed.
  7. cylinders:Engine size, based on the number of cylinders it has.
  8. odometer: The number of miles on the odometer of the vehicle.
  9. title_status: Contains the title status of the vehicle. Vehicle titles are certificates for legal ownership of a vehicle.
  10. transmission:The type of transmission on the vehicle.
  11. drive: Contains information about how the drive train delivers its power eg. AWD, FWD, RWD etc.
  12. size: Which size category the vehicle falls in.
  13. type Separates the vehicles on the basis of their type, eg. Hatchback, Pickup, Sedan etc.
  14. lat: Latitude of from where the listing is made.
  15. long: Longitude of from where the listing is made.
  16. posting_date: Date of when the listing was made.
  17. state: State code of where the listing is made.

Data Pre-processing

In this section, the chosen dataset is downloaded from Kaggle. This is done using the opendatasets library. On obtaining the dataset we read it using pandas and study the thus obtained pandas dataframe. Some of the important columns, that we plan to use in our analysis, are selected whereas the others are dropped so that the execution times are reduced.

!pip install jovian --upgrade --quiet
import jovian
# Execute this to save new versions of the notebook
jovian.commit(project="used-cars-eda-organised")
[jovian] Detected Colab notebook... [jovian] Uploading colab notebook to Jovian... Committed successfully! https://jovian.ai/udaysidhu1/used-cars-eda-organised
udaysidhu1
Uday Sidhu6 months ago