def pop_column(self, ckey):
<EOL>if type(ckey) is not str:<EOL><INDENT>return self.columns.pop(self.ckeys.pop(ckey))<EOL><DEDENT>else:<EOL><INDENT>ckey = self.ckeys.index(ckey)<EOL>if ckey < <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>")<EOL>return<EOL><DEDENT>return self.columns.pop(self.ckeys.pop(ckey))<EOL><DEDENT>
This will remove and return the data in the specified column.

You can specify either a key string or an index.