Skip to main content

enum_dictionary_array

Function enum_dictionary_array 

Source
pub fn enum_dictionary_array(
    values: impl IntoIterator<Item = impl Display>,
) -> Result<DictionaryArray<Int8Type>, ArrowError>
Expand description

Builds a compact dictionary array containing enum display names.

ยงErrors

Returns an [ArrowError] if the number of distinct values exceeds the Int8 key range.