seismometer.data.loader.ConfigOnlyHook

seismometer.data.loader.ConfigOnlyHook

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

An example is loading the predictions from a parquet file, where the ConfigProvider provides the path to the file which is loaded as a dataframe.

alias of Callable[[ConfigProvider], DataFrame]