Skip to content

repeat() function #68

@oscarostlundgs

Description

@oscarostlundgs

Describe the problem.
Provide a repeat() function that repeats the last available values in a timeseries for missing date.

Describe the solution you'd like
repeat(x, mode) function takes a timeseries and a mode argument. The mode argument can be either CALENDAR_DAYS and it then repeats values on all calendar days or WORK_DAYS and then skips Saturdays and Sundays.

Describe alternatives you've considered
We considered having a UNION mode that would align the series with the date of another series and fill the missing values but that would be redundant as the align() already supports that use case.

Are you willing to contribute
Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions