def cindex(self, needle):
    "\n        Returns the column index (c) for column name 'needle'.\n        \n        Throws 'not in list' if 'needle' is not a column name (cname).\n        "
    return self.table[0].index(needle)
Returns the column index (c) for column name 'needle'.

Throws 'not in list' if 'needle' is not a column name (cname).
def cindex(self, needle):
    "\n        Returns the column index (c) for column name 'needle'.\n        \n        Throws 'not in list' if 'needle' is not a column name (cname).\n        "
    return self.table[0].index(needle)