transform pandas dataset to scikit dataset