code: def chunk(self, size):
          
          chunks = self._chunk(size)
  
          return self.__class__(list(map(self.__class__, chunks)))
docs: Chunk the underlying collection.
  
          :param size: The chunk size
          :type size: int
  
          :rtype: Collection