input_arrivals.build_arrival_config()
Determine arrival parameters and create config dict.
Usage
input_arrivals.build_arrival_config(
arrivals,
hourly=False,
)Parameters
arrivals: pd.DataFrame-
Mean count of arrivals by weekday, response category and outcome. Must also contain incident hour when hourly=True.
hourly: bool = False- Use weekday-hour intervals instead of just weekday intervals.
Returns
dict- Configuration dictionary.