This package aims to be a comprehensive toolkit for preprocessing datasets.
Project description
DataPrepKitt
DataPrepKitt is a Python package for data preprocessing tasks, including reading data from different file formats, summarizing datasets, handling missing values, and encoding categorical data.
Installation
You can install DataPrepKitt using pip:
pip install DataPrepKitt
Example Usage:
import pandas as pd
from DataPrepKitt.DataPrepKitt import DataPrepKit
# Initialize DataPrepKit object with file path
dataprep = DataPrepKit('path_to_your_dataset')
# Generate data summary
summary = dataprep.data_summary()
print(summary)
print('_______________________________')
# Handle missing values (e.g., remove rows with missing values)
handle_missing = dataprep.handle_missing_values(strategy='remove')
print(handle_missing)
print('_______________________________')
# Encode categorical data (automatically detect categorical columns)
encoded_data = dataprep.encode_categorical_data()
print(encoded_data)
print('_______________________________')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
DataPrepKitt-0.0.3.tar.gz
(2.5 kB
view details)
File details
Details for the file DataPrepKitt-0.0.3.tar.gz.
File metadata
- Download URL: DataPrepKitt-0.0.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
202fc4d72d9f6b27ceb6e7166a2155cf5ff4ca8123d80b88d8b93fdfde77150f
|
|
| MD5 |
b775d506bb026f54d1f4814b65f611b7
|
|
| BLAKE2b-256 |
01acc30f32c34b1a00af7d1cf8e26b1d82410d0774ddcad4e73e7ebe2118542a
|