Skip to main content

A Python package for cleaning and preprocessing data in pandas DataFrames

Project description

Certainly! Here's an updated README file for your DataScrub package:


DataScrub

DataScrub is a Python package that provides powerful data cleaning and preprocessing capabilities for pandas DataFrames. It offers a collection of functions and utilities to facilitate data cleaning tasks, handling missing values, standardizing data formats, and more. With DataScrub, you can streamline your data preparation process and ensure the quality and consistency of your datasets.

Installation

DataScrub can be easily installed using pip. Simply run the following command:

pip install datascrub

Make sure you have Python 3.7 or above installed on your system.

Usage

To use DataScrub in your Python projects, import the package and create an instance of the DataClean class:

from datascrub import DataClean
import pandas as pd

# Create a DataFrame
data = pd.read_csv("data.csv")

# Create an instance of DataClean
cleaner = DataClean(data)

# Call the available methods to clean and preprocess your data
cleaned_data = cleaner.prep(clean='all', missing_values={}, perform_scaling_normalization_bool=False,
                            explode={}, parse_date=[], translate_column_names={})

The DataClean class takes a pandas DataFrame or a file path as input. You can then use the various methods available in the class to clean and preprocess your data.

Refer to the documentation for detailed information on available methods and usage examples.

Contributing

Contributions to DataScrub are welcome! If you encounter any bugs, have suggestions for improvements, or would like to add new features, please open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

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

datascrub-1.1.3.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

datascrub-1.1.3-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file datascrub-1.1.3.tar.gz.

File metadata

  • Download URL: datascrub-1.1.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for datascrub-1.1.3.tar.gz
Algorithm Hash digest
SHA256 d7c5610e97457910dc13747f32b80a9f18be2f8078d22f1e01c0de3d191ea3c9
MD5 23360be533fd7cc812004e59599bd55c
BLAKE2b-256 61bcde96ad6607ec1c40ce4c6461930383e50f6c20ef1673f836586aaf1b2fc1

See more details on using hashes here.

File details

Details for the file datascrub-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: datascrub-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for datascrub-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ccf1da25a5958b01ca1ca2d4c0e8d56ea4b3e5a7af5368afe52fec0dba0abc11
MD5 dfb63b2bebb732175d16edf290da3e56
BLAKE2b-256 e4e6136fff004cc85649442b739341e6dddc683c11ad9301a3346965c0bae3f7

See more details on using hashes here.

Supported by

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