pub trait ChunkAggSeries {
    // Provided methods
    fn sum_as_series(&self) -> Series { ... }
    fn max_as_series(&self) -> Series { ... }
    fn min_as_series(&self) -> Series { ... }
    fn prod_as_series(&self) -> Series { ... }
}
Expand description

Aggregations that return Series of unit length. Those can be used in broadcasting operations.

Provided Methods§

source

fn sum_as_series(&self) -> Series

Get the sum of the ChunkedArray as a new Series of length 1.

source

fn max_as_series(&self) -> Series

Get the max of the ChunkedArray as a new Series of length 1.

source

fn min_as_series(&self) -> Series

Get the min of the ChunkedArray as a new Series of length 1.

source

fn prod_as_series(&self) -> Series

Get the product of the ChunkedArray as a new Series of length 1.

Implementors§

source§

impl ChunkAggSeries for ChunkedArray<BinaryType>

source§

impl ChunkAggSeries for ChunkedArray<BooleanType>

source§

impl ChunkAggSeries for ChunkedArray<FixedSizeListType>

Available on crate feature dtype-array only.
source§

impl ChunkAggSeries for ChunkedArray<ListType>

source§

impl ChunkAggSeries for ChunkedArray<Utf8Type>

source§

impl<T> ChunkAggSeries for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

impl<T> ChunkAggSeries for ChunkedArray<T>where T: PolarsNumericType, <<T as PolarsNumericType>::Native as Simd>::Simd: Add<Output = <<T as PolarsNumericType>::Native as Simd>::Simd> + Sum<<T as PolarsNumericType>::Native> + SimdOrd<<T as PolarsNumericType>::Native>, ChunkedArray<T>: IntoSeries,