'Remove several columns from the table.
Parameters
names : list
A list containing the names of the columns to remove
Examples
Create a table with three columns \'a\', \'b\' and \'c\'::
>>> t = Table([[1, 2, 3], [0.1, 0.2, 0.3], [\'x\', \'y\', \'z\']],
...     names=(\'a\', \'b\', \'c\'))
>>> print(t)
a   b   c
1 0.1   x
2 0.2   y
3 0.3   z
Remove columns \'b\' and \'c\' from the table::
>>> t.remove_columns([\'b\', \'c\'])
>>> print(t)
a
1
2
3
Specifying only a single column also works. Remove column \'b\' from the table::
>>> t = Table([[1, 2, 3], [0.1, 0.2, 0.3], [\'x\', \'y\', \'z\']],
...     names=(\'a\', \'b\', \'c\'))
>>> t.remove_columns(\'b\')
>>> print(t)
a   c
1   x
2   y
3   z
This gives the same as using remove_column.'

def remove_columns(self, names):

    if isinstance(names, six.string_types):
        names = [names]
    for name in names:
        if (name not in self.columns):
            raise KeyError(u'Column    {0}    does    not    exist'.format(name))
    for name in names:
        self.columns.pop(name)
