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.4.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.4.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datacleaners-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 f7f55a8b544ca7bf075d09e4d9841250307e61799676a00c80ecf2379d378f5d
MD5 8886a4beb5f1cf69853dd61521279416
BLAKE2b-256 bdf70f45e5112e11e73ecd0416ae9b01bb1c5a0461431212df00ac2e7dfce39a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datacleaners-0.4.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cabc52414b26451279795aff6295c844978616cf882adf4590915ff684ea55f
MD5 71825d3a1f7a731aaee09f4279e65625
BLAKE2b-256 9bcd573e524bb6a87a4def9548e2d9fe6b54d5c09ae1c08c2d17b7c6b1446a40

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