gtkfi / GisSOM

Self-organizing maps (SOM) and k-means clustering for analyzing geospatial data.
GNU General Public License v3.0
23 stars 11 forks source link

Invalid column names #23

Open jtpesone opened 1 year ago

jtpesone commented 1 year ago

The wines dataset seems to have a problem with column names. What causes the problem and can it be handled by the software? Dataset: wines.csv Error: winesError

jtpesone commented 1 year ago

This seems to be connected to spaces or other special characters in the header. The same happens for % and $ at least. Double quotation marks do work. According to GisSOM manual "Also, spaces ( ), percentage signs (%) and double quotation marks (“) are removed from headers." So they should be accepted in the input files but removed for Python to be happy?