Have three variables labeled "User-ID", "ISBN", and "Book-Rating" in the one column, but prefer three.
Rows: 1,149,903
I read the post about converting one to two, but encountered an error on the first line of code.
First Line:
User-ID <- df[seq(from = 1, to =nrow(df), by = 3), 1]
Error Message:
Error in seq.default(from = 1, to = nrow(df), by = 3) :
'to' must be of length 1
I saved the .csv file as a data.frame using:
as.data.frame.matrix(BX.Book.Ratings)
Below shows screenshot. Please let me know if I can provide additional information.
Thank you