Skip to main content

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

cnspy_csv2dataframe-0.2.2.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

cnspy_csv2dataframe-0.2.2-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

Details for the file cnspy_csv2dataframe-0.2.2.tar.gz.

File metadata

  • Download URL: cnspy_csv2dataframe-0.2.2.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for cnspy_csv2dataframe-0.2.2.tar.gz
Algorithm Hash digest
SHA256 6bd2508f001b1b80574f2e00a13e4289445e6787fc8b063b80e9cffcae36f696
MD5 be6e75747f5d88807e5189ebbc4bc421
BLAKE2b-256 f7be373b752d53bb1c926b56b193dc08820cf812a5d4d0c3de119da25ba31860

See more details on using hashes here.

File details

Details for the file cnspy_csv2dataframe-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cnspy_csv2dataframe-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bb0138601cc8083567b84a9637c3c7cf72b97149638c030d4654b46e3628d121
MD5 88e1ef08fc7c33cae3d1ce6da4727129
BLAKE2b-256 809b26c9b3ff66b45d84be8cc38dfbd512a8599b386468a746879c5fdec97082

See more details on using hashes here.

Supported by

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