class_docstr: A cross-validation iterator to when a dataset has been loaded with the
  :meth:`load_from_folds <surprise.dataset.Dataset.load_from_folds>`
  method.
  
  See an example in the :ref:`User Guide <load_from_folds_example>`.
class_docstr_tok: ["A","cross-validation","iterator","to","when","a","dataset","has","been","loaded","with","the",":","meth",":","`","load_from_folds","<","surprise.dataset.Dataset.load_from_folds",">","`","method",".","See","an","example","in","the",":","ref",":","`","User","Guide","<","load_from_folds_example",">","`","."]
code: def get_n_folds(self):
      return self.n_splits
  
imports: import numbers
  from collections import defaultdict
  from itertools import chain
  from math import ceil, floor
  import numpy
  from ..utils import get_rng
label_desc: Use image node_id 2 for calling the PredefinedKFold obj's underlying member method code with example usage: obj.get_n_folds() and returns: self