code: def _full_axis_reduce_along_select_indices(self, func, axis, index):
          
          # Convert indices to numeric indices
          old_index = self.index if axis else self.columns
          numeric_indices = [i for i, name in enumerate(old_index) if name in index]
          result = self.data.apply_func_to_select_indices_along_full_axis(
              axis, func, numeric_indices
          )
          return result
docs: Reduce Manger along select indices using function that needs full axis.
  
          Args:
              func: Callable that reduces the dimension of the object and requires full
                  knowledge of the entire axis.
              axis: 0 for columns and 1 for rows. Defaults to 0.
              index: Index of the resulting QueryCompiler.
  
          Returns:
              A new QueryCompiler object with index or BaseFrameManager object.