## preprocessing.prepare_historic()


Prepare historic data.


Usage

``` python
preprocessing.prepare_historic(
    data, metrics=("Calls", "Responses", "Incidents")
)
```


## Parameters


`data: pd.DataFrame`  
Raw historic data.

`metrics: list[str] | tuple[str, …] = (``"Calls", `<span class="st">`"Responses"``, ``"Incidents"``)`</span>  
Metrics to keep.


## Returns


`data: pd.DataFrame`  
Cleaned historic data.
