- vectorFromArray(values, type?): Vector<dtypes.Null>
Parameters
- values: readonly (undefined | null)[]
Optional
type: Null
Returns Vector<dtypes.Null>
- vectorFromArray(values, type?): Vector<dtypes.Bool>
Parameters
- values: readonly (undefined | null | boolean)[]
Optional
type: Bool
Returns Vector<dtypes.Bool>
- vectorFromArray<T>(values, type?): Vector<T>
Type Parameters
- T extends Utf8 | Dictionary<Utf8, TKeys> = Dictionary<Utf8, Int32>
Parameters
- values: readonly (undefined | null | string)[]
Optional
type: T
- vectorFromArray<T>(values, type?): Vector<T>
Type Parameters
- T extends TimestampMillisecond
Parameters
- values: readonly (undefined | null | Date)[]
Optional
type: T
- vectorFromArray<T>(values, type): Vector<T>
Parameters
- values: readonly (undefined | null | number)[]
- type: T
- vectorFromArray<T>(values, type?): Vector<T>
Type Parameters
- T extends Int64 | Uint64 = Int64
Parameters
- values: readonly (undefined | null | bigint)[]
Optional
type: T
- vectorFromArray<T>(values, type?): Vector<T>
Type Parameters
- T extends Float<Floats> = Float64
Parameters
- values: readonly (undefined | null | number)[]
Optional
type: T
- vectorFromArray<T>(values, type): Vector<T>
Parameters
- values: readonly unknown[]
- type: T
- vectorFromArray<T>(values): Vector<JavaScriptArrayDataType<T>>
Type Parameters
- T extends readonly unknown[]
Returns Vector<JavaScriptArrayDataType<T>>
- vectorFromArray<T>(data): Vector<TypedArrayDataType<T>>
Type Parameters
- T extends TypedArray | BigIntArray
Returns Vector<TypedArrayDataType<T>>
- vectorFromArray<T>(data): Vector<T>
- vectorFromArray<T>(data): Vector<T>
- vectorFromArray<T>(data): Vector<T>
- vectorFromArray<T>(data): Vector<ArrayDataType<T>>
Type Parameters
- T extends readonly unknown[] | TypedArray | BigIntArray
Returns Vector<ArrayDataType<T>>
Creates a Vector from a JavaScript array via a Builder. Use makeVector if you only want to create a vector from a typed array.