seismometer.data.loader.ConfigFrameHook

seismometer.data.loader.ConfigFrameHook

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

An example is ensuring types of a loaded predictions dataframe, where ConfigProvider provides some metadata that can then be applied to the dataframe returing the transformed object.

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