pyobsmod.load_dataset#
- pyobsmod.load_dataset(path: str | Path) BaseDataset#
Load
Datasetfrom a pickled dataframe.The file to load did not have to be created by
BaseDataset.saveand can come directly from a saved dataframepandas.to_pickle. However, the dataframe still must contain theobsandmodcolumns.- Parameters:
path (str | Path) – File path where the pickled object will be stored.
- Returns:
BaseDataset with observation and model columns.
- Return type:
BaseDataset