@uwdata/flechette
Version:
Fast, lightweight access to Apache Arrow data.
11 lines (10 loc) • 653 B
TypeScript
/**
* Create a new table from the provided arrays.
* @param {[string, Array | import('../types.js').TypedArray][]
* | Record<string, Array | import('../types.js').TypedArray>} data
* The input data as a collection of named arrays.
* @param {import('../types.js').TableBuilderOptions} options
* Table builder options, including an optional type map.
* @returns {import('../table.js').Table} The new table.
*/
export function tableFromArrays(data: [string, any[] | import("../types.js").TypedArray][] | Record<string, any[] | import("../types.js").TypedArray>, options?: import("../types.js").TableBuilderOptions): import("../table.js").Table;