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:
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
It is part of the cnspy eco-system of the cns-github group.
Software License Agreement (GNU GPLv3 License), refer to the LICENSE file.
Sharing is caring! - Roland Jung