data_cook
data_cook is a library that helps you accelerate the data preprocessing process efficiently and easily. The library provides powerful tools for manipulating, cleaning, and normalizing data, saving time and improving workflow efficiency.
Key Features
- Supports CSV & DataFrame processing
- Smart merging (merge) methods
- Image and video preprocessing (frame extraction, brightness adjustment, flipping, etc.)
- Extract frames based on keyframes or significant changes
- Built-in powerful data filtering tools
- Highly compatible with Pandas & OpenCV
Installation
You can install data_cook via pip:
pip install data_cook
To install the latest development version from GitHub:
git clone https://github.com/AutoCookies/data_cook.git
cd data_cook
pip install .
Usage
Here is a simple example of how to use data_cook:
import data_cook
from data_cook.csv import group_and_merge
# Example usage
import pandas as pd
data = pd.DataFrame({
'group': ['A', 'A', 'B', 'B'],
'value': [10, 20, 30, 40]
})
result = group_and_merge(data, 'group', 'value')
print(result)
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch) - Commit your changes (
git commit -m 'Add new feature') - Push to the branch (
git push origin feature-branch) - Open a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for data-cook 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| data_cook-0.2.0.tar.gz | 35.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| data_cook-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 149.8 kB
Release files / data_cook-0.2.0.tar.gz
| Download URL | data_cook-0.2.0.tar.gz |
|---|---|
| Size | 35.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2312c22e07c66f9a000355710550d3a5267e81b2b2957aa84e0c6aa6b9545385
|
|
BLAKE2b-256 checksum How to use checksums |
e8bc4ee0e772afddb5e11c6d2ca0ae322c8fdc00a5c0a2fa8321ed6120c2f9af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / data_cook-0.2.0-py3-none-any.whl
| Download URL | data_cook-0.2.0-py3-none-any.whl |
|---|---|
| Size | 114.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3e8bb72bed1da315f596c798bbc2029d4de5e3aae8023190991c1cfa74a5fae
|
|
BLAKE2b-256 checksum How to use checksums |
9483ed0e855bfd4c11137d40f6e71ce9390c0d946031efc25bd0db197008d3ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|