src.prepare_data.task_prepare_vacations

Module Contents

Functions

_prepare_vacations(path)

_convert_to_params_format(df)

task_prepare_vacations(depends_on, produces)

Prepare data on vacations in Germany such that they can be added to params.

_prepare_vacations(path)[source]
_convert_to_params_format(df)[source]
task_prepare_vacations(depends_on, produces)[source]

Prepare data on vacations in Germany such that they can be added to params.

Note that the date is saved in epochs meaning the passed time from 1970-01-01 in seconds. This allows to save the dates in a numeric format and keep the “value” column in params in a numeric format.