Python Linear Regression Time Series