## input_shifts.save_schedule()


Convert schedule to a dictionary and save as json file.


Usage

``` python
input_shifts.save_schedule(
    schedule,
    save_path,
    round_values=False,
)
```


## Parameters


`schedule: pd.DataFrame`  
Dataframe with two columns: `time` and `vehicles`.

`save_path: str | Path`  
Path to save JSON file.

`round_values: bool = ``False`  
Whether to round columns and convert to integers before saving.
