Enum polars_core::prelude::RevMappingBuilder
source · pub enum RevMappingBuilder {
GlobalFinished(PlHashMap<u32, u32>, Utf8Array<i64>, u128),
Local(MutableUtf8Array<i64>),
}
Available on crate feature
dtype-categorical
only.Variants§
GlobalFinished(PlHashMap<u32, u32>, Utf8Array<i64>, u128)
Hashmap: maps the indexes from the global cache/categorical array to indexes in the local Utf8Array Utf8Array: caches the string values
Local(MutableUtf8Array<i64>)
Utf8Array: caches the string values