code: def get_y(self, indices=None):
          
          if indices is None:
              indices = list(range(0, self.get_sample_size()))
          else:
              if not hasattr(indices, "__iter__"):
                  indices = [indices]
              indices = sorted(list(set(indices)))
  
          if len(indices) == 0:
              return []
          return self.Y[indices]
docs: Returns the output data requested by the user
              @ In, indices, a list of non-negative integers specifying
              the row indices to return
              @ Out, an nparray of floating point values specifying the output
              data values filtered by the indices input parameter.