Skip to main content

float_dictionary_encode

Function float_dictionary_encode 

Source
pub fn float_dictionary_encode(
    array: ArrayView<'_, Primitive>,
    stats: &FloatStats,
) -> VortexResult<DictArray>
Expand description

Compresses a floating-point array into a dictionary array according to attached stats.

ยงErrors

Returns an error if unable to compute validity.