Module polars_core::utils

source ·

Re-exports

pub use arrow;
pub use rayon;

Structs

Just a wrapper structure. Useful for certain impl specializations This is for instance use to implement impl<T> FromIterator<T::Native> for NoNull<ChunkedArray<T>> as Option<T::Native> was already implemented: impl<T> FromIterator<Option<T::Native>> for ChunkedArray<T>

Traits

Functions

Transform to physical type and coerce floating point and similar sized integer to a bit representation to reduce compiler bloat
This takes ownership of the DataFrame so that drop is called earlier.
This takes ownership of the DataFrame so that drop is called earlier. Does not check if schema is correct
ensure that nulls are propagated to both arrays
Concat the DataFrames to a single DataFrame.
Concat the DataFrames to a single DataFrame.
Given two datatypes, determine the supertype that both types can safely be cast to
Simple wrapper to parallelize functions that can be divided over threads aggregated and finally aggregated in the main thread. This can be done for sum, min, max, etc.
split_caprivate
Given two datatypes, determine the supertype that both types can safely be cast to
A utility that allocates an UnstableSeries. The applied function can then use that series container to save heap allocations and swap arrow arrays.