changed get_fold_indices docstring