Skip to main content

An data handle library

Project description

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:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m 'Add new feature')
  4. Push to the branch (git push origin feature-branch)
  5. Open a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

data_cook-0.2.0.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

data_cook-0.2.0-py3-none-any.whl (114.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: data_cook-0.2.0.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for data_cook-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2312c22e07c66f9a000355710550d3a5267e81b2b2957aa84e0c6aa6b9545385
MD5 41e0672a13d06c42e77db807e674a59a
BLAKE2b-256 e8bc4ee0e772afddb5e11c6d2ca0ae322c8fdc00a5c0a2fa8321ed6120c2f9af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: data_cook-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 114.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for data_cook-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3e8bb72bed1da315f596c798bbc2029d4de5e3aae8023190991c1cfa74a5fae
MD5 9e7f67c8998bf490fd4600a6fcad03f3
BLAKE2b-256 9483ed0e855bfd4c11137d40f6e71ce9390c0d946031efc25bd0db197008d3ac

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