Skip to main content

About this Block

What it does: The Import Table block lets you import tabular data by a designated path. The file type must be a CSV using UTF-8 or UTF-16 encoding with a list separator of a comma. Tables consist of rows and column-oriented data stored and extracted as Text type. Common uses:
  • This block imports any tabular data set with an arbitrary number of columns.
  • Examples:
    • This block can be used to store and extract non-linear material data.
    • This block can be used to store and extract design parameter sets.
Tips
  • The imported CSV must be a rectangular MxN table.
    • You can use the Include headers: input to choose whether to include headers. If checked,this input then makes the first row of the Table as column headers.
      • You can access the header names in the properties of the Table as a Text list.
      • The block will ignore duplicate and invalid (or empty) headers.
    • You can extract Table columns into usable lists using the Extract Column block.
      • You can use integers representing the column number or valid headers (if they exist) to identify which Column to extract.
Imports a tabular data set as a Table.

Inputs

NameTypeDescription
PathFile PathSystem path of table file.
Include headersBoolOption to include the first row of the table as column headers.

Outputs

Type
Table