Regressions in python are working