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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

data_process-0.3.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: data_process-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.1

File hashes

Hashes for data_process-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d50de9100ab0194e858bc1e302053eb5dbb8e00f3d22284e5583a75b3d88002e
MD5 c851ed771fbebd2e1127f73c295eddf0
BLAKE2b-256 c9b5c63ccea487ddff7e02b0bfc549c3b6ef3ebe51df76c1333141850fca52da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page