fn take_dict<T: ArrowDictionaryKeyType, I: ArrowPrimitiveType>(
values: &DictionaryArray<T>,
indices: &PrimitiveArray<I>,
) -> Result<DictionaryArray<T>, ArrowError>
Expand description
take
implementation for dictionary arrays
applies take
to the keys of the dictionary array and returns a new dictionary array
with the same dictionary values and reordered keys