QTable¶
-
class
astropy.table.
QTable
(data=None, masked=None, names=None, dtype=None, meta=None, copy=True, rows=None, copy_indices=True)[source] [edit on github]¶ Bases:
astropy.table.Table
A class to represent tables of heterogeneous data.
QTable
provides a class for heterogeneous tabular data which can be easily modified, for instance adding columns or new rows.The
QTable
class is identical toTable
except that columns with an associatedunit
attribute are converted toQuantity
objects.Parameters: data : numpy ndarray, dict, list, or Table, optional
Data to initialize table.
masked : bool, optional
Specify whether the table is masked.
names : list, optional
Specify column names
dtype : list, optional
Specify column data types
meta : dict, optional
Metadata associated with the table.
copy : bool, optional
Copy the input data (default=True).
rows : numpy ndarray, list of lists, optional
Row-oriented data for table instead of
data
argument