code: def reduce_chunk(func, array):
      
      res = []
      for slice in iter_chunk_slice(array.shape[-1], array.chunkshape[-1]):
          res.append(func(array[..., slice]))
      return func(res)
docs: Reduce with `func`, chunk by chunk, the passed pytable `array`.