code: def index(self, name=None):  # pylint: disable=C6409
      
      try:
        return self.header.index(name)
      except ValueError:
        raise TableError('Unknown index name %s.' % name)
docs: Returns index number of supplied column name.
  
      Args:
        name: string of column name.
  
      Raises:
        TableError: If name not found.
  
      Returns:
        Index of the specified header entry.