Create an array from a CSV file.
This can be useful if you want to test your graphs by using dummy tables that can be quickly created in a spreadsheet and saved to CSV file.
Properties
CSV separator character
: Set the character being used to separate values.
Default :,
Inputs
Name | Type | Description |
---|---|---|
CSV | String | Expects CSV type data. Typically this will be connected to a Read File node pointing to a CSV file. |
Outputs
Name | Type | Description |
---|---|---|
Array | Array | Resulting array populated with the CSV data |
Formatting
The CSV file must be formatted in the following matter :
The first line contains the properties of the array, separated by a comma ,
.
Every other line contains a single item of the array, with the values for the properties also separated by a comma ,
.
The data must all be contained in a single column.
For example, this formatted CSV:
will result in the following array:
Need more help with this?
Don’t hesitate to contact us here.