keys
The keys
method returns a Table containing the keys of a PartitionedTable
.
Syntax
keys() -> Table
Parameters
This method takes no parameters.
Returns
A Table containing the keys of a PartitionedTable
.
Example
from deephaven import empty_table
source = empty_table(10).update(
["IntCol = randomInt(1, 4)", "StrCol = i%2==0 ? `A` : `B`", "IntCol2 = i*2"]
)
partitioned_table = source.partition_by(["IntCol", "StrCol"])
keys = partitioned_table.keys()
- keys
- source