Suppose I have to predict data date with time in very 5 min, how can I do it? like this one,
Dates
9/18/2019 5:35
9/18/2019 5:40
9/18/2019 5:45
9/18/2019 5:50
9/18/2019 5:55
9/18/2019 6:00
9/18/2019 6:05
9/18/2019 6:10
9/18/2019 6:15
9/18/2019 6:20
9/18/2019 6:25
9/18/2019 6:30
9/18/2019 6:35
9/18/2019 6:40
9/18/2019 6:45
9/18/2019 6:50
Hi Ganesh,
What are you trying to predict? The tick rate itself is mostly irrelevant for the different methods.
Best,
Iliya
I want to set date to make prediction as above date.And I set the date for prediction as shown below.
I want to prediction in every 5 min, but I got error.I don’t know how to set this date.
data_train.index = data_train[‘Date’]
start_date = ‘2019-12-28 3:45’
end_date = ‘2020-03-14 6:30’
Hey Ganesh,
All you have to do is set up the proper frequency after you plug in the data. Here is an expanded list of the different frequencies (minutes, seconds etc): https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#timeseries-offset-aliases
If you follow the examples below the table you’ll see how to properly define the 5 minute interval you’re using.
Best,
365 Vik