Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r: rename a column

colnames(df)[which(names(df) == "columnName")] <- "newColumnName"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rename #column
ADD COMMENT
Topic
Name
4+1 =