Skip to main content

I have some datasets with unpredictable white spaces in the attribute (column) names. Is there a way to automatically trim these? The trimming tools I found all seem to be dealing with strings.

Did you look at the BulkAttributeRenamer? You can e.g. replace all spaces with nothing, or use a regex to constrain it further.


I tried that but it went for the rows, I want to correct the attribute headings, the column names. Sorry that my explanation is a bit confusing.


I just found somewhat of a workaround.

 

In the AttributeManager it is enough just to click each row in the Output Attribute column, if there is any white space the row is automatically set to rename, and the white space removed.


Reply