date_features argument of MLForecast can take pandas date
attributes as well as functions that take a pandas
DatetimeIndex
and return a numeric value. The name of the function is used as the name
of the feature, so please use unique and descriptive names.
How-to guides
Custom date features
Define your own functions to be used as date features
Was this page helpful?
⌘I

