def index(self, name=None):  # pylint: disable=C6409
    try:
      return self.header.index(name)
    except ValueError:
      raise TableError('Unknown index name %s.' % name)
Returns index number of supplied column name.
dataset/ETHPy150Open google/textfsm/texttable.py/TextTable.index