Move this group to a new parent.
        
        :param parent: The new parent group; if None will be root group.
        :type parent: :class:`keepassdb.model.Group`
        :param index: The 0-based index within the parent (defaults to appending
                      group to end of parent's children).
        :type index: int

def move(self, parent, index=None):
        """
        Move this group to a new parent.
        
        :param parent: The new parent group; if None will be root group.
        :type parent: :class:`keepassdb.model.Group`
        :param index: The 0-based index within the parent (defaults to appending
                      group to end of parent's children).
        :type index: int
        """
        return self.db.move_group(self, parent, index=index)