def addCol(self, name):
    '\n        Add a new column called name at the end of the row. \n        Cells with be empty.\n\n        Returns the cid of the new column, same as cindex(cname).\n        '
    self.table[0].append(name)
    self._uniqueColumns()
    for rid in range(1, self.nrows()):
        self.table[rid].append('')
    return (len(self.table[0]) - 1)
Add a new column called name at the end of the row. 
Cells with be empty.

Returns the cid of the new column, same as cindex(cname).
def addCol(self, name):
    '\n        Add a new column called name at the end of the row. \n        Cells with be empty.\n\n        Returns the cid of the new column, same as cindex(cname).\n        '
    self.table[0].append(name)
    self._uniqueColumns()
    for rid in range(1, self.nrows()):
        self.table[rid].append()
    return (len(self.table[0]) - 1)