ExtendedKey
ExtendedKey[key1,key2,…]
represents a multilevel column key in a Tabular object.
Details
- ExtendedKey is used in functions such as Part to access values in Association objects or columns in Tabular objects.
- ExtendedKey is typeset stacking the keyi as different levels of the column header. Shared upper keys will be typeset spanning the columns.
Examples
open allclose allBasic Examples (1)
Create a Tabular object with columns using ExtendedKey:
Scope (2)
Take a Tabular object with ExtendedKey column keys:
Extract one column as a TabularColumn object:
Extract the same column as another Tabular object:
ExtendedKey[…,key] can be shortened to key if this uniquely identifies the column:
Take a Tabular object with ExtendedKey column keys:
Extract all columns sharing the specified keys:
Using patterns in ExtendedKey is interpreted as producing a list of keys, even if only one:
Properties & Relations (4)
ExtendedKey is stripped in associations when containing only one key:
The symbol remains when containing several keys:
Key lookup in associations requires exact matching:
Using ExtendedKey succeeds in all four cases:
ExtendedKey has Flat attribute:
Nested ExtendedKey wrappers will therefore be automatically flattened:
Key always takes one argument:
ExtendedKey can take more than one argument:
Text
Wolfram Research (2025), ExtendedKey, Wolfram Language function, https://reference.wolfram.com/language/ref/ExtendedKey.html.
CMS
Wolfram Language. 2025. "ExtendedKey." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ExtendedKey.html.
APA
Wolfram Language. (2025). ExtendedKey. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ExtendedKey.html