How to Divide Train and Test Data in Python