ReadonlychildrenReadonlyfactoryReadonlynamesReadonlyschemaProvide an informative object string tag.
The number of columns in this table.
The number of columns.
The number of rows in this table.
The number of rows.
Return the child column at the given index position.
The column index.
Construct a new table containing only columns with the specified names. If columns have duplicate names, the first (with lowest index) is used. The order of columns in the new table matches the order of input names.
Names of columns to keep.
Optionalas: string[]Optional new names for selected columns.
A new table with columns matching the specified names.
Construct a new table containing only columns at the specified indices. The order of columns in the new table matches the order of input indices.
The indices of columns to keep.
Optionalas: string[]Optional new names for selected columns.
A new table with selected columns.
A table consists of a collection of named columns (or 'children'). To work with table data directly in JavaScript, use
toColumns()to extract an object that maps column names to extracted value arrays, ortoArray()to extract an array of row objects. For random access by row index, usegetChild()to access data for a specific column.