code: def pseudo(DIs, random_seed=None):
      
      if random_seed != None:
          np.random.seed(random_seed)
      Inds = np.random.randint(len(DIs), size=len(DIs))
      D = np.array(DIs)
      return D[Inds]
docs: Draw a bootstrap sample of directions returning as many bootstrapped samples
      as in the input directions
  
      Parameters
      ----------
      DIs : nested list of dec, inc lists (known as a di_block)
      random_seed : set random seed for reproducible number generation (default is None)
  
      Returns
      -------
      Bootstrap_directions : nested list of dec, inc lists that have been
      bootstrapped resampled