Import from Text File

Node Icon

Import the content of a text file as a numeric array.

Outputs

Output

Output numeric array

Type: Numeric Array

Settings

Path Filepath

Path to text file.

Delimiter Text

Delimiter in the text file, i.e. the character that is used to separate elements. Can be expressed as a single character, or a regular expression (RegEx).

Useful RegEx examples:

  • \s+ describes one or more spaces. This is the default value.
  • ,\s* describes a comma, followed by zero or more spaces.

File has Headers Boolean

If True, the first row is treated as the column headers, and will ignored when reading the file content.

See also

Keywords: