statsmodels.regression.linear_model.OLSResults.load

classmethod OLSResults.load(fname)

Load a pickled results instance

Warning

Loading pickled models is not secure against erroneous or maliciously constructed data. Never unpickle data received from an untrusted or unauthenticated source.

Parameters
fname{str, handle}

A string filename or a file handle.

Returns
Results

The unpickled results instance.