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.0.tar.gz (21.4 kB view hashes)

Uploaded Source

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