Is there a way to create lags based on the sampling interval? #9035
Unanswered
kaijennissen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When working with time-series it's common to use lagged features, where the lags are wrt. the sampling interval. If the sampling interval is f.e. daily, then a lag of 1 returns the value of the previous day. I was able to come up with a solution which works by first adding the sampling-interval and then joining the newly created table. Is there a way to get the same result without intermediate table?
Beta Was this translation helpful? Give feedback.
All reactions