Why am I getting X. in my column names when reading a data frame?
I asked a question about this a few months back , and I thought the answer had solved my problem, but I ran into the problem again and the solution didn't work for me. I'm importing a CSV: orders <- read.csv("<file_location>", sep=",", header=T, check.names = FALSE) Here's the structure of the dataframe: str(orders) 'data.frame': 3331575 obs. of 2 variables: $ OrderID : num -2034590217 -2034590216 -2031892773 -2031892767 -2021008573 ... $ OrderDate: Factor w/ 402 levels "2010-10-01","2010-10-04",..: 263 263 269 268 301 300 300 300 300 300 ... If I run the length command on the first column,