pyobsmod.load_dataset#

pyobsmod.load_dataset(path: str | Path) BaseDataset#

Load Dataset from a pickled dataframe.

The file to load did not have to be created by BaseDataset.save and can come directly from a saved dataframe pandas.to_pickle. However, the dataframe still must contain the obs and mod columns.

Parameters:

path (str | Path) – File path where the pickled object will be stored.

Returns:

BaseDataset with observation and model columns.

Return type:

BaseDataset