code: def _random_ss_ix(ix, size, replace=True):
      a = range(len(ix))
      ixs = ix[np.random.choice(a, size=size, replace=replace)]
      return ixs
  
file_path: sktime/sktime/classification/ensemble/_bagging.py
imports: from math import ceil
  import numpy
  import pandas
  from sktime.classification.base import BaseClassifier
label_desc: Use image node_id 1 for calling a global function with example usage: _random_ss_ix(ix, size, replace) and returns: ixs