Skip to content

sinhasomya100/TASK-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš— Task 1 โ€“ Data Cleaning & Preprocessing (Excel-Based)

โ€ข Tool Used: Microsoft Excel โ€ข Dataset: Car Price Dataset (Kaggle)


๐ŸŽฏ Objective Clean a raw dataset using Excel by identifying and fixing:

  • โŒ Missing values
  • ๐Ÿ“„ Duplicate rows
  • ๐Ÿงฉ Inconsistent text/casing
  • ๐Ÿ“… Non-uniform date formats
  • ๐Ÿงฎ Incorrect data types

Goal: Make the data clean, consistent, and ready for analysis.


๐Ÿ“‚ Dataset Overview

Raw Data Cleaned Data
Rows 301 298
Columns 16 16
Null Values 3 0
Duplicates 1 0

๐Ÿ›  Excel Cleaning Steps

1๏ธโƒฃ Missing Values

  • Applied filters โ†’ found blanks in condition, odometer, color
  • Removed 3 rows with critical missing data

2๏ธโƒฃ Remove Duplicates

  • Used Data โ†’ Remove Duplicates (across all columns)

3๏ธโƒฃ Standardized Text Formats

  • Applied =PROPER() to fix inconsistent casing (e.g., bmw โ†’ Bmw)
  • Used Find & Replace to clean up repeated seller formats

4๏ธโƒฃ Column Header Formatting

  • Renamed columns: Year โ†’ year, SellingPrice โ†’ selling_price, etc.
  • Ensured no spaces, consistent lowercase

5๏ธโƒฃ Date Formatting

  • Fixed saledate column to show consistent format โ†’ dd-mm-yyyy

6๏ธโƒฃ Verified Data Types

  • Checked that odometer, mmr, and sellingprice are numeric
  • Dates set to proper format in Excel

โœ… Results After Cleaning

  • Dataset now has no nulls, no duplicates, and clean, readable formatting.
  • All text is standardized, numeric formats are correct, and dates are consistent.
  • Ready for analysis or visualization!

๐Ÿ“ Files Included in this Repo File Description car_price_raw.xlsx Original raw dataset car_price_cleaned.xlsx Cleaned dataset after all steps README.md Task explanation and documentation screenshots visuals from Excel

๐Ÿง  What I Learned

  • How to clean data in Excel using built-in tools
  • How to handle missing values, remove duplicates, and format text/dates properly
  • Why standardization and formatting is crucial before analysis
  • Documenting the cleaning process is just as important as doing it

๐Ÿ“ Notes

  • Excelโ€™s native tools (filters, functions, formatting) are powerful for quick cleaning
  • Cleaned data reduces risk of incorrect analysis or model training
  • Always save a backup of the original dataset before cleaning!

๐Ÿ”š Conclusion This task gave me hands-on experience with Excelโ€™s powerful data cleaning tools. I feel confident handling messy datasets and prepping them for real-world analysis. ๐Ÿง โœ…

๐Ÿ‘จโ€๐Ÿ’ป Author

Somya Sinha Aspiring Data Analyst | SQL Enthusiast | Excel & Power BI Learner

๐Ÿ”— www.linkedin.com/in/somyasinha100 ๐Ÿ“ง somyasinha615@gmail.com

About

Data Cleaning and Preprocessing

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors