tables.readtable.md

January 18, 2023 ยท View on GitHub

Home > @datashaper/tables > readTable

readTable() function

Read an input table

Signature:

export declare function readTable(input: Blob | string | undefined, schema: Partial<DataTableSchema>, options?: ReadTableOptions): Promise<ColumnTable | undefined>;

Parameters

ParameterTypeDescription
inputBlob | string | undefinedThe input blob
schemaPartial<DataTableSchema>The dataTableSchema with format, shape and parser of the table
optionsReadTableOptions(Optional)

Returns:

Promise<ColumnTable | undefined>