Giter Site home page Giter Site logo

python-data-cleaning's Introduction

Project Title

  • Preliminary Data Cleaning of 'kz.csv' Dataset

Project Overview

This project involves the cleaning and preprocessing of a dataset ('kz.csv') containing information related to orders. The primary goal is to handle missing values, convert data types where necessary, and ensure consistency in certain columns, such as 'category_id,' 'price,' 'user_id,' 'category_code,' and 'brand.'

Business Understanding

The stakeholder(s) for this project are those interested in analyzing order data. The business problem addressed is ensuring the quality and reliability of the dataset for subsequent analyses. No external research citations are included.

Data Understanding

The dataset ('kz.csv') contains information on orders, and columns such as 'category_id,' 'price,' 'user_id,' 'category_code,' and 'brand' are present. Descriptive statistics provide insights into numerical features, and missing values are addressed in 'category_id,' 'price,' and 'user_id.' Numeric data stored as strings in 'category_code' and 'brand' are handled, and rates of invalid entries are calculated.

Process

The following steps were taken to complete the project:

  • Importing necessary libraries (Pandas, NumPy, Datetime).
  • Loading and displaying the dataset.
  • Calculating descriptive statistics.
  • Displaying data types of each column.
  • Handling missing values in 'category_id,' 'price,' and 'user_id.'
  • Filling missing values based on relevant information.
  • Processing 'category_code' and 'brand' columns for consistency.
  • Calculating rates of invalid entries in 'category_code' and 'brand.'

Notes

  • The project assumes default values based on the dataset context.
  • Functions for handling numeric data stored as strings can be adapted for similar scenarios.
  • Questions or improvements are welcome, feel free to reach out.

Portfolio Information

This project is part of a portfolio for a data analyst job search, demonstrating skills in data cleaning and preprocessing.

python-data-cleaning's People

Contributors

ranayalcink avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.