Example munging of some time series data into a format suitable for running scikit-learn's linear regression.