code: def subsample(self, key, order='random', auto_resize=False, ID=None):
          
  
          def func(well):
              return well.subsample(key=key, order=order, auto_resize=auto_resize)
  
          return self.apply(func, output_format='collection', ID=ID)
docs: Allows arbitrary slicing (subsampling) of the data.
  
          .. note::
  
              When using order='random', the sampling is random
              for each of the measurements in the collection.
  
          Parameters
          ----------
          {FCMeasurement_subsample_parameters}
  
          Returns
          -------
          FCCollection or a subclass
              new collection of subsampled event data.