Bridging the gap between Pandas and Scikit-learn