statsmodels requires patsy, so we cannot exactly remove it