seismometer.data.loader.event.merge_onto_predictions¶
- seismometer.data.loader.event.merge_onto_predictions(config, event_frame, dataframe)¶
Merges each configured event onto the predictions dataframe.
Will create event columns (_Value + _Time) for each configured event.
- Parameters:
config (ConfigProvider) – The loaded configuration object.
event_frame (pd.DataFrame) – The events dataframe.
dataframe (pd.DataFrame) – The target predictions dataframe.
- Returns:
The merged dataframe of predictions plus new event columns.
- Return type:
pd.DataFrame