CSV to pandas.Dataframe converter
Project description
cnspy_csv2dataframe
The class CSV2DataFrame is intended to load CSV-files into a pandas.DataFrame
. The CSV files need to match known formats (defined by their header in the first line) according to those defined in the package spatial_csv_formats.
In case no format is specified, it tries to match the first line of the CSV-File with known headers from cnspy_spatial_csv_formats and loads the data in that format.
There a some specialization of CSV2DataFrame that support different operations on the data:
Installation
Install the current code base from GitHub and pip install a link to that cloned copy
git clone https://github.com/aau-cns/cnspy_csv2dataframe.git
cd cnspy_csv2dataframe
pip install -e .
or the official package via
pip install cnspy-csv2dataframe
Dependencies
It is part of the cnspy eco-system of the cns-github group.
License
Software License Agreement (GNU GPLv3 License), refer to the LICENSE file.
Sharing is caring! - Roland Jung
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
File details
Details for the file cnspy_csv2dataframe-0.2.0.tar.gz
.
File metadata
- Download URL: cnspy_csv2dataframe-0.2.0.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2a0f4a2e7a65498328ec091c181c7c768eb05df35025dde719737208690d50a |
|
MD5 | b0f13eb7cd970ae4e24a36b111b19b3b |
|
BLAKE2b-256 | 9cf0632e1581aaf601dbbffbd367758a960a52ac0b82684a44f3afb3d3975d8b |