yaeah…this seems to be so simple and yet i cant do it…if the column name is just “Name” or “Full_Name” then i can get it done. that space between Full and Name is the problem…so frustrating…
@statspy , I had exactly the same problem today. I use this code to remove the spaces in the colnames of the dataframe “df”
# remove spaces in colnames
oldNames = names(df)
newNames = Vector{String}(undef, length(oldNames))
for (i, name) in enumerate(oldNames)
new = replace(name, " " => "")
newNames[i] = new
end
rename!(df, newNames)