polars_arrow

Module compute

Source
Expand description

contains a wide range of compute operations (e.g. [arithmetics], aggregate, [filter], [comparison], and [sort])

This module’s general design is that each operator has two interfaces, a statically-typed version and a dynamically-typed version. The statically-typed version expects concrete arrays (such as PrimitiveArray); the dynamically-typed version expects &dyn Array and errors if the type is not supported. Some dynamically-typed operators have an auxiliary function, can_*, that returns true if the operator can be applied to the particular DataType.

Modules§

aggregatecompute_aggregate
arity
Defines kernels suitable to perform operations to primitive arrays.
arity_assign
Defines generics suitable to perform operations to PrimitiveArray in-place.
bitwisecompute_bitwise
Contains bitwise operators: or, and, xor and not.
booleancompute_boolean
null-preserving operators such as and, or and not.
boolean_kleenecompute_boolean_kleene
Boolean operators of Kleene logic.
concatenate
temporalcompute_temporal
Defines temporal kernels for time and date related functions.
utils