@Corporate_Cowboy wrote:
Hi everyone,
I am new to data science and would be needing your help on an issue. I was working on Bike Sharing problem and wanted to sort my rows on the basis of date.
Actually the data set is such that data for first nineteen days of every month for 2 years is given in the training set, and the data for days from 20th of the month to the end of the month for the same 2 years is present in the test data set.
When I merged the 2 datasets usingtotal<-rbind(train[-c(10,11,12)],test)
the dates got shuffled up.
Now I want to order my rows such that data for 20th day comes after the 19th day of the month and so on.
Please suggest some method to implement this.Thanks in advance!
CC
Posts: 3
Participants: 2