Expand description
Global symbol interning for reversible string-to-ID mapping.
Functionsยง
- clear
- Clear all symbols. For testing/REPL only. WARNING: Invalidates all existing symbol IDs.
- count
- Number of interned symbols.
- from_
arrow - Convert Arrow DictionaryArray back to symbol IDs.
- intern
- Intern a string, returning its unique ID. Thread-safe. Returns existing ID if already interned.
- memory_
usage - Estimated memory usage in bytes.
- resolve
- Resolve an ID to its string. Panics if ID is invalid.
- resolve_
checked - Resolve an ID to its string if present.
- to_
arrow - Convert a column of symbol IDs to Arrow DictionaryArray.