CSVο
- static read_file.CSV(path, parameter=None, x=None, y=None, crs=None, set_data=None, **kwargs)ο
Read all relevant information necessary to add a CSV-file to the map.
Use it as:
>>> data = m.read_file.CSV(...)
or
>>> m.read_file.CSV(set_data=m)
- Parameters:
path (str) β The path to the csv-file.
parameter (str) β The column-name to use as parameter.
x (str) β The column-name to use as βxβ coordinates.
y (str) β The column-name to use as βyβ coordinates.
crs (crs-identifier) β The crs of the data. (see βMaps.set_dataβ for details)
kwargs β additional kwargs passed to pandas.read_csv.
- Returns:
A dict that contains the data required for plotting.
- Return type:
dict (if set_data is False) or None (if set_data is True)