load_csv
load_csv(filepath, [sep=,], [header=0], [encoding=utf-8], [timeout])
Load a CSV file as a dictionary of lists (columns)
Syntaxe
var data = load_csv("data.csv", sep=";", header=0, encoding="utf-8");
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
filepath | yes | - | Path/URL to CSV file |
sep | - | , | Separator (default: ,) |
header | - | 0 | Header row index (default: 0, use -1 for no header) |
encoding | - | utf-8 | File encoding (default: utf-8) |
timeout | - | - | Network timeout in ms (optional) |