polars_compute::propagate_dictionary

Function propagate_dictionary_value_nulls

Source
pub fn propagate_dictionary_value_nulls(
    keys: &PrimitiveArray<u32>,
    values: &Utf8ViewArray,
) -> (PrimitiveArray<u32>, Utf8ViewArray)
Expand description

Propagate the nulls from the dictionary values into the keys and remove those nulls from the values.