polars_arrow/compute/
mod.rs

1//! contains a wide range of compute operations (e.g.
2//! [`arithmetics`], [`aggregate`],
3//! [`filter`], [`comparison`], and [`sort`])
4//!
5//! This module's general design is
6//! that each operator has two interfaces, a statically-typed version and a dynamically-typed
7//! version.
8//! The statically-typed version expects concrete arrays (such as [`PrimitiveArray`](crate::array::PrimitiveArray));
9//! the dynamically-typed version expects `&dyn Array` and errors if the type is not
10//! supported.
11//! Some dynamically-typed operators have an auxiliary function, `can_*`, that returns
12//! true if the operator can be applied to the particular `DataType`.
13
14#[cfg(feature = "compute_aggregate")]
15#[cfg_attr(docsrs, doc(cfg(feature = "compute_aggregate")))]
16pub mod aggregate;
17pub mod arity;
18pub mod arity_assign;
19#[cfg(feature = "compute_bitwise")]
20#[cfg_attr(docsrs, doc(cfg(feature = "compute_bitwise")))]
21pub mod bitwise;
22#[cfg(feature = "compute_boolean")]
23#[cfg_attr(docsrs, doc(cfg(feature = "compute_boolean")))]
24pub mod boolean;
25#[cfg(feature = "compute_boolean_kleene")]
26#[cfg_attr(docsrs, doc(cfg(feature = "compute_boolean_kleene")))]
27pub mod boolean_kleene;
28pub mod concatenate;
29#[cfg(feature = "dtype-decimal")]
30pub mod decimal;
31#[cfg(feature = "compute_temporal")]
32#[cfg_attr(docsrs, doc(cfg(feature = "compute_temporal")))]
33pub mod temporal;
34pub mod utils;