Table Values
12 nodes
On this page 12
Calculate
FunctionA formula calculated on its own, from the values wired into X and Y: $x + $y, ROUND($x / $y, 2), UPPER($x).
Calculate(formula: Text, x: Any, y: Any) -> Any
object Calculate(string formula = "$x + $y", object x, object y)
Parameters
| name | type | default | description |
|---|---|---|---|
| formula | Text | $x + $y | The formula; $x and $y are X and Y. |
| x | Any | — | The value of $x. |
| y | Any | — | The value of $y. |
Returns
| Result | Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Column Names
FunctionA table's column names, in order.
ColumnNames(table: Table) -> Text Array
string[] ColumnNames(Table table)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
Returns
| Names | Text Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Column Summary
FunctionOne column summarized as one value: its sum, mean, median, count and the rest.
ColumnSummary -> Any
table: Table
column: Text
aggregation: Aggregationobject ColumnSummary(
Table table,
string column,
Aggregation aggregation = Aggregation.Sum)Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
| column | Text | — | The column. |
| aggregation | Aggregation | Sum | How its values become one. |
Returns
| Result | Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Column To Text
FunctionA column's values joined into one text: "North, South, East" - each value once, by default, in the order it first appears.
ColumnToText -> Text
table: Table
column: Text
separator: Text
distinct: Truthstring ColumnToText(
Table table,
string column,
string separator = ", ",
bool distinct = true)Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
| column | Text | — | The column. |
| separator | Text | , | What goes between the values. |
| distinct | Truth | True | Whether each value appears once. |
Returns
| Text | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Get Cell
FunctionThe value in one cell: a column, and a row counted from 1 - or from the end when negative, so -1 is the last row.
GetCell(table: Table, column: Text, row: Integer) -> Any
object GetCell(Table table, string column, int row = 1)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
| column | Text | — | The cell's column. |
| row | Integer | 1 | The cell's row: 1 for the first, -1 for the last. |
Returns
| Value | Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Get Dates
FunctionA column of dates as a Date & Time Array; an empty cell is the earliest date there is.
GetDates(table: Table, column: Text) -> Date & Time Array
DateTime[] GetDates(Table table, string column)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
| column | Text | — | The column; text is read as dates. |
Returns
| Dates | Date & Time Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Get Numbers
FunctionA column of numbers as a Number Array, for nodes that take numbers - a chart, a vector. An empty cell is NaN, which a chart draws as a gap.
GetNumbers(table: Table, column: Text) -> Number Array
double[] GetNumbers(Table table, string column)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
| column | Text | — | The column; truths read as 1 and 0. |
Returns
| Numbers | Number Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Get Texts
FunctionA column as a Text Array, each value as it is written; an empty cell is empty text.
GetTexts(table: Table, column: Text) -> Text Array
string[] GetTexts(Table table, string column)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
| column | Text | — | The column; any kind. |
Returns
| Texts | Text Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Get Truths
FunctionA column of truths as a Truth Array; an empty cell is false.
GetTruths(table: Table, column: Text) -> Truth Array
bool[] GetTruths(Table table, string column)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
| column | Text | — | The column; text and numbers are read as truths. |
Returns
| Truths | Truth Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Table Info
FunctionA table's size and column names.
TableInfo(table: Table) -> (Rows: Integer, columns: Integer, columnNames: Text)
int TableInfo(
Table table,
out int columns,
out string columnNames)Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
Returns
| Rows | Integer |
| columns | Integer |
| columnNames | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Table To Markdown
FunctionThe table as a Markdown table, every row of it - for a report, a README or a chat message.
TableToMarkdown(table: Table) -> Text
string TableToMarkdown(Table table)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
Returns
| Markdown | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics
Table To Text
FunctionThe table as aligned text to print or show: its first Max Rows rows under their column names, numbers to the right.
TableToText(table: Table, maxRows: Integer) -> Text
string TableToText(Table table, int maxRows = 20)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table. |
| maxRows | Integer | 20 | How many rows to show; the rest are counted. |
Returns
| Text | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Values
- Package
- Data Analytics