| title | empty_table |
|---|
The empty_table method creates an empty in-memory table with a specified number of rows.
empty_table(size: int) -> TableThe number of empty rows allocated.
An empty in-memory table.
The following example creates an empty in-memory table with five rows.
from deephaven import empty_table
result = empty_table(5)The following example creates an empty in-memory table with five rows and then updates it to contain data.
from deephaven import empty_table
result = empty_table(5).update(formulas=["X = 5"])