Skip to main content

input_data.prepare_shifts()

Load shifts and calculate their start and end minutes within a week.

Usage

Source

input_data.prepare_shifts(path)

Parameters

path: str | pathlib.Path
Path to the shift CSV file.

Returns

shifts: pd.DataFrame
Shift data with added columns including icb, shift_start and shift_end.