Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

how to change the index of a dataframe in r

rownames(dfr) <- 1:nrow(dfr)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #index #dataframe
ADD COMMENT
Topic
Name
9+6 =