QTable#
- class astropy.table.QTable(data=None, masked=False, names=None, dtype=None, meta=None, copy=True, rows=None, copy_indices=True, units=None, descriptions=None, **kwargs)[source]#
 Bases:
TableA class to represent tables of heterogeneous data.
QTableprovides a class for heterogeneous tabular data which can be easily modified, for instance adding columns or new rows.The
QTableclass is identical toTableexcept that columns with an associatedunitattribute are converted toQuantityobjects.For more information see:
- Parameters:
 - data
numpyndarray,python:dict,python:list, astropy:table-likeobject, optional Data to initialize table.
- maskedbool, optional
 Specify whether the table is masked.
- names
python:list, optional Specify column names.
- dtype
python:list, optional Specify column data types.
- meta
python:dict, optional Metadata associated with the table.
- copybool, optional
 Copy the input data. If the input is a (Q)Table the
metais always copied regardless of thecopyparameter. Default is True.- rows
numpyndarray,python:listofpython:list, optional Row-oriented data for table instead of
dataargument.- copy_indicesbool, optional
 Copy any indices in the input data. Default is True.
- units
python:list,python:dict, optional List or dict of units to apply to columns.
- descriptions
python:list,python:dict, optional List or dict of descriptions to apply to columns.
- **kwargs
python:dict, optional Additional keyword args when converting table-like object.
- data