Skip to main content

make processing 2d data more convenient

Project description

Data Process

Make processing 2d data more convenient

Install

pip install data-process

Module description

  • collect_csv_data: Collect data in a directory contains CSV files
  • date: Generate current date and time; get the range of and start, end day of a period date; convert bettween string and datetime.datetime type
  • date_range: Get the range of date from the start, end, range gap you provided
  • decimal_helper: Convert float to Decimal type
  • dict_helper: Replace the keys of a dict; infinite defaultdict data structure; get data by a series of keys
  • filter_date: Filter a series date string by the given start, end date
  • green_dict: Make the dict compatibal with the json.dumps, especially for date(time) type
  • group_by: Group a series of dict by a list of functions; degroup a deep grouped dict by the depths
  • io_csv: Read, write csv files
  • io_json: Read, write json files
  • io_files: List files in a glob pattern directories
  • io_lines: Read as lines from a file except the lines are blank or start with '#'
  • iter_dict: Convert dict for output, handled by the type of values separately
  • join: Left, right, inner, outer join a series of dict as like in SQL
  • list_helper: Flat a nested list
  • pandas_helper: Functions wrapper for using pandas conveniently. Convert pandas.DataFrame to a list of dict; aggregate DataFrame by a field.

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_process-0.4.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

data_process-0.4.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file data_process-0.4.0.tar.gz.

File metadata

  • Download URL: data_process-0.4.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for data_process-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ded46b66de3802f7b4d95d75bc8ec0ccdd185245de32914fc10d2753f0c5e7e8
MD5 abb168bf364628323151c892e6011260
BLAKE2b-256 53295782081090ead3fc470d1ced94c6daf23a4e9f2292404389f4e5eccadd24

See more details on using hashes here.

File details

Details for the file data_process-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: data_process-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for data_process-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 510103a4f9668a1b8c98e402da5233e9b27f24127eeafb82c311da3335d27c77
MD5 c681afd49988a0c0b4577403d6b883f6
BLAKE2b-256 e3f81f6da5b52b90453ac07dab6ade1b663e236e0753a4cb72da5b697476145d

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