This abstraction will present the contents of a DataFrame as if it were a well typed javascript object Vector.
Signature
Import
The DataFrameView.get() is optimized for use in a loop and will return same object. See function for more details.
Constructors
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
DataFrame | (BETA) | ||
length | number | (BETA) |
Methods
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Constructs a new instance of the DataFrameView
class
Parameters
Parameter | Type | Description |
---|---|---|
data | DataFrame |
dataFrame property
Signature
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature
get length(): number;
get method
The contents of the object returned from this function are optimized for use in a loop. All calls return the same object but the index has changed.
Signature
get(idx: number): T;
Parameters
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Helper function to return the for a given field column.
Signature
getFieldDisplayProcessor(colIndex: number): DisplayProcessor | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
colIndex | number | the field column index for the data frame. |
Returns:
DisplayProcessor | undefined
toArray method
Signature
toArray(): T[];