random.kfolds function

Partition an mldr object into k folds