tables.loadcsv.md

February 26, 2024 ยท View on GitHub

Home > @datashaper/tables > loadCSV

loadCSV() function

Drop-in replacement for arquero loadCSV, using our internal parsing with auto-typing turned on. Meant for quick-and-dirty reads, with the advantage that our default parsing aligns with pandas. Use readTable for more control over schema options and formats.

Signature:

export declare function loadCSV(url: string, options: CSVParseOptions): Promise<ColumnTable>;

Parameters

ParameterTypeDescription
urlstring
optionsCSVParseOptions

Returns:

Promise<ColumnTable>