business-science / pytimetk

Time series easier, faster, more fun. Pytimetk.
https://business-science.github.io/pytimetk/
MIT License
696 stars 60 forks source link

future frame forward fill internal #207

Closed JustinKurland closed 1 year ago

JustinKurland commented 1 year ago

future frame on single series behavior was different than the groupby in the event that there is just a singular dataframe as opposed to a groupby so the name for a given id if present required the use of a lambda to forward fill. I have added to the function to do this automatically internally in the case there is an id column so it eliminates the need for lambda after the fact. I have updated the docstring accordingly as well.