statsmodels.regression.linear_model.OLSResults.resid

OLSResults.resid()