The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Regarding Date

Regarding Date

0
Votes
2
Answer

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

 
 
 
 

2 Answers

365 Team
0
Votes

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’

6 months

365 Team
0
Votes

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

×
LAST CHANCE
Ready to Learn Data Science?
50% OFF