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.2.0.tar.gz (3.2 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.2.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for datacleaners-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2cf0a4ce62a96a6c8949bae11a218037885e26e391668e5aeaa0db8445443c01
MD5 376978a994dc0b060273e5858f346a40
BLAKE2b-256 f35c605f3bca4962d7eddbbb70b826fcf47098ca919d16b489ad30c338bde226

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datacleaners-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3bd00e33d31f132864c19d7e39bb4c398d152222ff73435c75ddaa78770180c
MD5 695f122f21e3d8cc30d5e65c073d6bf7
BLAKE2b-256 5d601e9fc125e0e22eae7731f7c82e9523784d6d32eea9679154e2064c7ceadd

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