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 datacleaners==0.4.0
from datacleaners import 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.5.0.tar.gz (3.7 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.5.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for datacleaners-0.5.0.tar.gz
Algorithm Hash digest
SHA256 aad8fab1ac82df038a262d6abcf3f08f1e25e29bf0e287d50ff0ea2a8972180d
MD5 308f1700bcfe08c29a13bd1e1433e05d
BLAKE2b-256 5b3cb975deff4331bdb54f8a1474027648e350f4341cca887674c59e759e746d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datacleaners-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 755d4d30d07a5a7c2a5177fa36229154fbe997658d57423d76f9ce8c5b766f3c
MD5 e04b08d4db7673eeb73a8455cd162e40
BLAKE2b-256 c451db33a3d37ea44dcffc2c66b48274841ed546a40d00f7c1cbf74fbc7fe1f1

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