statsmodels.iolib.smpickle.load_pickle

statsmodels.iolib.smpickle.load_pickle(fname)[source]

Load a previously saved object; use only on trusted files, as unpickling can run arbitrary code. (i.e. calling this on a malicious file can wipe or take over your system.)

Parameters:fname (str) – Filename to unpickle

Notes

This method can be used to load both models and results.