statsmodels.genmod.generalized_linear_model.GLMResults.load

classmethod GLMResults.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, pathlib.Path}

A string filename or a file handle.

Returns:
Results

The unpickled results instance.