[Solved] Exclude column 0 (rownames) column from data frame and csv output
You can drop the rownames of a dataframe by simply setting them to null. They’re null by default (see ?data.frame), but sometimes they get set by various functions: # Create a sample dataframe with row.names a_data_frame <- data.frame(letters = c(“a”, “b”, “c”), numbers = c(1, 2, 3), row.names = c(“Row1”, “Row2”, “Row3”)); # View it … Read more