todo: add description
Project description
csverve
Csverve, pronounced like “swerve” with a “v”, is a package for manipulating tabular data.
Free software: MIT license
Documentation: https://csverve.readthedocs.io.
Features
Take in a regular gzipped CSV file and convert it to csverve format
Merge gzipped CSZ files
Concatenate gzipped CSV files (handles large datasets)
Rewrite a gzipped CSV file (delete headers etc.)
Annotate - add a column based on provided dictionary
Write pandas DataFrame to csverve CSV
Read a csverve CSV
Requirements
Every gzipped CSV file must be accompanied by a meta YAML file. The meta yaml file must have the exact name as the gzipped CSV file, with the addition of a .yaml ending.
csv.gz.yaml must contain:
column names
dtypes for each column
separator
header (bool) to specify if file has header or not
Example:
columns:
- dtype: int
name: prediction_id
- dtype: str
name: chromosome_1
- dtype: str
name: strand_1
header: true
sep: "\t"
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-12-16)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for csverve-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6271a934deceecaa1e4e6a4a3d7368976658a6a3e6abb2c8278eff4cbc9e4866 |
|
MD5 | 9e15d0e63b53066992871d49392e8820 |
|
BLAKE2b-256 | 6e2a5848f897203f60037d03d6c1205073d62967770f346ab75fb8001ad3a8d6 |