pyarrow.dictionary

pyarrow.dictionary(index_type, value_type, bool ordered=False) → DictionaryType

Dictionary (categorical, or simply encoded) type.

Parameters
Returns

type (DictionaryType)