Skip to content

SlidingWindow function on data frame that is indexed by date #351

Answered by qwertz747
qwertz747 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi thx a lot for your reply @vrodriguezf .
It got me thinking/experimenting and my error came from recreating the test and train dataframe manually not from the slidingwindow function.

So the slidingwindow function was working as expected all the time!

This is how I manually recreated the test and train data frame correctly... if anyone has a similar issue...

Thx for the fast help!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by qwertz747
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants