Skip to content

Repository files navigation

Python-Project

Python Data Cleaning Project – Retail Product Sales Dataset

📌 Project Overview

This project demonstrates an end-to-end data cleaning workflow using Python. The objective was to convert a raw retail product sales dataset containing over 4,000 records into a clean, structured dataset suitable for business analysis and dashboard development.

The project follows common data preprocessing techniques used by Data Analysts before performing exploratory analysis or creating visualizations.

Tools & Technologies

  • Python
  • Pandas
  • NumPy
  • Regular Expressions (Regex)
  • Jupyter Notebook

Data Cleaning Workflow

1. Data Inspection

  • Loaded the dataset into Pandas DataFrame
  • Examined data types
  • Checked dataset dimensions
  • Reviewed missing values

2. Missing Value Handling

  • Identified null values
  • Replaced missing numerical values using Mean and Median
  • Filled missing categorical values using Mode where appropriate

3. Duplicate Handling

  • Identified duplicate records
  • Removed duplicate rows

4. Data Validation

  • Corrected invalid numeric values
  • Standardized categorical entries
  • Removed unnecessary whitespace
  • Fixed inconsistent text formatting

5. Email Validation

  • Validated customer email addresses using Python Regular Expressions
  • Corrected invalid email formats

6. Phone Number Standardization

  • Removed unwanted characters
  • Converted phone numbers into a consistent format

7. Data Type Conversion

  • Converted object columns into appropriate numeric and datetime formats

8. Final Dataset Export

  • Exported the cleaned dataset for further analysis and visualization

Skills Demonstrated

  • Data Cleaning
  • Data Validation
  • Data Wrangling
  • Data Transformation
  • Pandas
  • NumPy
  • Regex
  • Python
  • Exploratory Data Analysis
  • Business Data Preparation
  • Learning Outcome

Raw Dataset │ ▼ Data Inspection │ ▼ Data Cleaning │ ▼ Data Validation │ ▼ Clean Dataset │ ▼ Business Analysis

Through this project, I strengthened my practical knowledge of preparing real-world datasets for analytics by applying structured data cleaning techniques using Python. The cleaned dataset can now be used for reporting, dashboard creation, and further business analysis.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages