code: def offset(image, xoffset, yoffset=None):
      """Returns a copy of the image where data has been offset by the given
      distances. Data wraps around the edges. If ``yoffset`` is omitted, it
      is assumed to be equal to ``xoffset``.
  
      :param image: Input image.
      :param xoffset: The horizontal distance.
      :param yoffset: The vertical distance.  If omitted, both
          distances are set to the same value.
      :rtype: :py:class:`~PIL.Image.Image`
      """
  
      if yoffset is None:
          yoffset = xoffset
      image.load()
      return image._new(image.im.offset(xoffset, yoffset))
  
imports: from .None import Image
label_desc: Use image node_id 21 for calling a global function with example usage: offset(image, xoffset, yoffset) and returns: image