TableColumns#
- class astropy.table.TableColumns(cols={})[source]#
Bases:
OrderedDict
OrderedDict subclass for a set of columns.
This class enhances item access to provide convenient access to columns by name or index, including slice access. It also handles renaming of columns.
The initialization argument
cols
can be a list ofColumn
objects or any structure that is valid for initializing a Python dict. This includes a dict, list of (key, val) tuples or [key, val] lists, etc.- Parameters:
Methods Summary
isinstance
(cls)Return a list of columns which are instances of the specified classes.
not_isinstance
(cls)Return a list of columns which are not instances of the specified classes.
Methods Documentation