Skip to main content

Table.input

Table.inputcolumns

Group: Constants

Documentation

Creates a new table from a set of columns parsing the resulting table.

Arguments

  • columns: A set of either Column objects or set of name, data and optionally type to construct a column from. If the data is passed as Vector Text then it will be parsed into the specified type (defaults to auto detect).

Returns

  • A Table of all of the input data.

Errors

  • If the vector is improperly defined, an error is returned.
  • If there are no columns, an error is returned.
  • If column names are not distinct, an error is returned.
  • If any columns have an inconsistent number of records, an error is returned.

? Unique Names Column names must be unique. If a column name is repeated, an error is thrown.

? Consistent Row Count All columns must have the same number of rows. If a column has a different number of entries, an error is thrown.