Python Time Series Feature Extraction