Apache Arrow - v20.0.0
    Preparing search index...

    Function tableFromArrays

    • Creates a new Table from an object of typed arrays or JavaScript arrays.

      Type Parameters

      • I extends Record<string | number | symbol, readonly unknown[] | TypedArray | BigIntArray>

      Parameters

      • input: I

        Input an object of typed arrays or JavaScript arrays.

      Returns Table<{ [P in string | number | symbol]: ArrayDataType<I[P]> }>

      A new Table.

      const table = tableFromArrays({
      a: [1, 2, 3],
      b: new Int8Array([1, 2, 3]),
      })