pyarrow.DictionaryValue¶
-
class
pyarrow.
DictionaryValue
¶ Bases:
pyarrow.lib.ArrayValue
Concrete class for dictionary-encoded array elements.
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
as_py
(self)Return this value as a Python object. Attributes
dictionary_value
Return this value’s underlying dictionary value as a ArrayValue. index_value
Return this value’s underlying index as a ArrayValue of the right signed integer type. type
-
as_py
(self)¶ Return this value as a Python object.
The exact type depends on the dictionary value type.
-
dictionary_value
¶ Return this value’s underlying dictionary value as a ArrayValue.
-
index_value
¶ Return this value’s underlying index as a ArrayValue of the right signed integer type.
-
type
¶
-