does it mean that ols['beta'] is not an array? that's weird. I would really expect ols['beta'] to be a numpy array eventually with named columns...