← All datasets

Used Car Prices in Egypt

What sets the price of a used car in Egypt, and how much did prices move in one year?

Rows
24,688 + 24,857
Columns
12 + 21
Period
Aug 2025 · Aug 2026
Format
2 CSV files

The data

Two people scraped the same website, Hatla2ee, a year apart: once in August 2025 and once in August 2026. Each row is one car for sale: brand, model, model year, mileage, gearbox, asking price in EGP and location.

Putting the two files together lets you ask a question no single file can answer: did used car prices in Egypt go up or down in a year?

Most of the work is making the two files speak the same language. They have different columns, units and spellings.

Download

August 2025 (Kaggle) ↗August 2026 (Kaggle) ↗

About the format

  • Two Kaggle datasets, one CSV each: hatla2ee_cars_august_2025.csv and egypt_used_cars.csv. You need a (free) Kaggle account to download.
  • In the 2025 file, price and mileage are text: "1,640,000 EGP", "58,000 Km". In the 2026 file they are already numbers.
  • Before you put the two files in one table, add a column that says which snapshot each row comes from.
old = pd.read_csv("hatla2ee_cars_august_2025.csv")
new = pd.read_csv("egypt_used_cars.csv")
old["scrape"], new["scrape"] = "Aug 2025", "Aug 2026"

Main columns

ColumnWhat it holds
company / brandCar brand (different column name in each file)
model, yearModel and model year
price / price_egpAsking price (text in 2025, number in 2026)
mileage / mileage_kmKilometres driven (text in 2025)
transmissionAutomatic / manual (almost empty in 2025, see features)
fuel, body_shape, engine, color2026 only, and often empty
locationDistrict, or district + governorate
date_posted / scraped_atWhen the listing was posted or collected

Watch out for

These are hints, not instructions. Check each one in the data, decide what to do, and explain your choice in the notebook.
  • Brand names differ between the files: Mercedes vs Mercedes-Benz, Byd vs BYD, Land vs Land Rover.
  • Some 2025 model years are not years (1100, 3008, 5008…). Look at the title of those rows.
  • In 2025 the gearbox is hidden inside the features text.
  • Locations are written in many forms: "Nasr city", "Nasr City, Cairo", "Cairo, Nasr City". How would you get the governorate?
  • Very low prices (a few thousand EGP) may be a down payment or an instalment, not the price of the car.
  • 0 km on a 15-year-old car? A million km?
  • The two people may have scraped differently. Compare the same model and year across the two files, not just the averages.

Questions to explore

The market

  1. Which brands and model years are for sale? Are Chinese brands growing?
  2. How common are automatic cars?

What sets the price?

  1. How fast does a car lose value with age? With mileage?
  2. How much more does an automatic cost than a manual of the same age?
  3. Which brands keep their value best?

One year apart

  1. Did the same car (brand + model + year) get cheaper or more expensive from 2025 to 2026?
  2. Which brands moved the most?

Where

  1. Are cars dearer in Cairo than in other governorates? Why?

Ideas for the app

  • A price checker: pick brand, model and year, see the asking prices in both years.
  • A depreciation curve by brand.
  • A 2025 vs 2026 page with the matched comparison.
← All datasets