seismometer.data.loader.MergeFramesHook

seismometer.data.loader.MergeFramesHook

TypeAlias for a callable taking a ConfigProvider and two DataFrames, which returns a DataFrame.

An example is uses ConfigProvider to understand the relevant keys, then merging events from the first dataframe argument onto the last argument (predictions) returning the combined dataframe.

alias of Callable[[ConfigProvider, DataFrame, DataFrame], DataFrame]