DataFrame
DataFrame is a high-performance, easy to use tabular structure with strongly-typed columns of different types.
In the API, the terms "Table" and "DataFrame" are used interchangeably.
Usage samples: https://public.datagrok.ai/js/samples/data-frame/manipulate Usage details: https://datagrok.ai/help/develop/advanced/data-frame Implementation details: https://datagrok.ai/help/develop/admin/architecture#in-memory-database
Constructors
new DataFrame()
new DataFrame(
dart):DataFrame
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Source
Properties
| Property | Modifier | Type |
|---|---|---|
_dialogs | private | undefined | DataFrameDialogHelper |
_meta | public | undefined | DataFrameMetaHelper |
_plot | private | undefined | DataFramePlotHelper |
columns | public | ColumnList |
dart | readonly | any |
filter | public | BitSet |
rows | public | RowList |
tags | public | any |
temp | public | any |
Accessors
currentCell
getcurrentCell():Cell
Current cell. Sample: https://public.datagrok.ai/js/samples/data-frame/events/current-elements
setcurrentCell(cell):void
Current cell. Sample: https://public.datagrok.ai/js/samples/data-frame/events/current-elements
Parameters
| Parameter | Type |
|---|---|
cell | Cell |
Returns
Source
currentCol
getcurrentCol():Column<any,any>
Current column. Sample: https://public.datagrok.ai/js/samples/data-frame/events/current-elements
setcurrentCol(col):void
Current column. Sample: https://public.datagrok.ai/js/samples/data-frame/events/current-elements
Parameters
| Parameter | Type |
|---|---|
col | Column<any, any> |
Returns
Column<any, any>
Source
currentRow
getcurrentRow():Row
Current row. Sample: https://public.datagrok.ai/js/samples/data-frame/events/current-elements
setcurrentRow(row):void
Parameters
| Parameter | Type |
|---|---|
row | Row |
Returns
Source
currentRowIdx
getcurrentRowIdx():number
Index of the current row.
setcurrentRowIdx(idx):void
Parameters
| Parameter | Type |
|---|---|
idx | number |
Returns
number