Feature Extraction In Python