partition_cv function

Partition the data for a (non-spatial) cross-validation