PLAYGROUND (experimental)

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

NameRequiredDefaultDescription
filepathyes-Path/URL to CSV file
sep-,Separator (default: ,)
header-0Header row index (default: 0, use -1 for no header)
encoding-utf-8File encoding (default: utf-8)
timeout--Network timeout in ms (optional)