Skip to main content

source

id_time_grid

Generate all expected combiations of ids and times.
source

fill_gaps

Enforce start and end datetimes for dataframe.
The default functionality is taking the current starts and only extending the end date to be the same for all series.
We can also specify end='per_serie' to only fill possible gaps within each serie.
We can also specify an end date in the future.
We can set all series to start at the same time.
We can also set a common start date for all series (which can be earlier than their current starts).
In case the times are integers the frequency, start and end must also be integers.
The function also accepts polars dataframes