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.3.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

cnspy_csv2dataframe-0.2.3-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cnspy_csv2dataframe-0.2.3.tar.gz
  • Upload date:
  • Size: 21.5 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.3.tar.gz
Algorithm Hash digest
SHA256 ff95934f6bdf7f45f2b4c3ac92aa83db9dd82bba21ae9a4f5d4c76b7c65f039e
MD5 a12635bd97f583ef21835b6504d45b37
BLAKE2b-256 c49fb624f05271faa245a851b44d91e73e9d13887dda5469c7c560a0bec00903

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cnspy_csv2dataframe-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7d1f9ef4fb841db08f06485e9316ed1c83a9a7c410380edc001be07fe96fcf1f
MD5 ca8a6eca7f80fede3552c4c3c1fd9a92
BLAKE2b-256 28719446dde72d2bde462f09c7c8fa001b7ec24a5e886b328fd07f16bb3d7d02

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