statsmodels.regression.linear_model.OLSResults.resid

method

OLSResults.resid()

The residuals of the model.