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
| Parameter | Type | Description |
|---|---|---|
| input | Blob | string | undefined | The input blob |
| schema | Partial<DataTableSchema> | The dataTableSchema with format, shape and parser of the table |
| options | ReadTableOptions | (Optional) |
Returns:
Promise<ColumnTable | undefined>