pydata/pandas — pull request #6687 by cloga (2014-03-22 14:13:42+00:00)
Title: add train_test_split function to DataFrame

Use random sample to split a DataFrame to train set and test set which ready for cross validation.