Skip to main content

A package for cleaning data before machine learning.

Project description

dataCleaner

PyPI version License: MIT

dataCleaner is a Python package designed to help data scientists clean and preprocess datasets effectively before feeding them into machine learning models. The package provides a comprehensive suite of tools for handling missing data, removing duplicate rows, normalizing numerical columns, and removing outliers.


Features

  • Handle Missing Data: Automatically handle missing values using mean, median, or by dropping rows.
  • Drop Duplicate Rows: Identify and remove duplicate rows in your dataset.
  • Normalize Numerical Columns: Scale numerical columns to a range of 0 to 1 using Min-Max normalization.
  • Remove Outliers: Remove outliers using Z-score or IQR (Interquartile Range) methods.
  • Get Cleaned Data: Retrieve the cleaned DataFrame after applying the cleaning methods.

Installation

Install the package from PyPI using pip:

pip install dataCleaner

cleaner = DataCleaner(df)
cleaner.handle_missing_data()
cleaner.drop_duplicates()
cleaner.normalize_columns()
print(cleaner.get_cleaned_data())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datacleaners-0.3.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datacleaners-0.3.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file datacleaners-0.3.0.tar.gz.

File metadata

  • Download URL: datacleaners-0.3.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for datacleaners-0.3.0.tar.gz
Algorithm Hash digest
SHA256 043a7efff1365ddbef503c2819abfb9683955fb674eb5a4fcabef92cbfa6b4be
MD5 a84c2493fb44bce8d834d31c05180726
BLAKE2b-256 283270258d37f7e387b78221783dff8e7c87cf5cf46fc213e4f1e1284bee9e24

See more details on using hashes here.

File details

Details for the file datacleaners-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: datacleaners-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for datacleaners-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05e019392f320e0484c9a0b862fbf7a96d41065031377798493b0a4d9d97d37e
MD5 d03275b14e084f0f92c930ebe941ab07
BLAKE2b-256 993c024b0dc9c1c5e51f23711810252aae0f805a94b791c3246af2daef263d99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page