Skip to main content

replace_dict

Function replace_dict 

Source
pub fn replace_dict<T: Integer>(
    input: CategoricalAVT<'_, T>,
    from: &str,
    to: &str,
) -> Result<CategoricalArray<T>, KernelError>
Expand description

Replaces all occurrences of from with to in each categorical string element.