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.1.0.tar.gz (33.1 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.1.0-py3-none-any.whl (70.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: data_cook-0.1.0.tar.gz
  • Upload date:
  • Size: 33.1 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.1.0.tar.gz
Algorithm Hash digest
SHA256 44f32e0e92fb5d1379021dfb0429133f349386e0fae7fe235598b60e353fbf00
MD5 7ac1175780c73e6184209dfb232f9e98
BLAKE2b-256 a6678e7311430f81bacb3d8dace5750f972242c155b8e927b26020a476098716

See more details on using hashes here.

File details

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

File metadata

  • Download URL: data_cook-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 70.5 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba997f003fb44e2b5f2f4fbfab0b759dcd1ddbb3e5a97c778cdc203f9b3fe180
MD5 80c61ce5ddf970fb73e6b8a665e4042d
BLAKE2b-256 045985345d3d8639e90ffa266c94973f4a7dccceda7ab05206474c910ec8e75a

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