pub trait ChunkAggSeries {
// Provided methods
fn sum_reduce(&self) -> Scalar { ... }
fn max_reduce(&self) -> Scalar { ... }
fn min_reduce(&self) -> Scalar { ... }
fn prod_reduce(&self) -> Scalar { ... }
}Expand description
Aggregations that return Series of unit length. Those can be used in broadcasting operations.
Provided Methods§
Sourcefn sum_reduce(&self) -> Scalar
fn sum_reduce(&self) -> Scalar
Get the sum of the ChunkedArray as a new Series of length 1.
Sourcefn max_reduce(&self) -> Scalar
fn max_reduce(&self) -> Scalar
Get the max of the ChunkedArray as a new Series of length 1.
Sourcefn min_reduce(&self) -> Scalar
fn min_reduce(&self) -> Scalar
Get the min of the ChunkedArray as a new Series of length 1.
Sourcefn prod_reduce(&self) -> Scalar
fn prod_reduce(&self) -> Scalar
Get the product of the ChunkedArray as a new Series of length 1.
Implementors§
impl ChunkAggSeries for ChunkedArray<BinaryType>
impl ChunkAggSeries for ChunkedArray<BooleanType>
impl ChunkAggSeries for ChunkedArray<StringType>
impl<T> ChunkAggSeries for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature
object only.impl<T> ChunkAggSeries for ChunkedArray<T>where
T: PolarsNumericType,
<T as PolarsNumericType>::Native: WrappingSum,
PrimitiveArray<<T as PolarsNumericType>::Native>: for<'a> MinMaxKernel<Scalar<'a> = <T as PolarsNumericType>::Native>,
impl<T> ChunkAggSeries for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: ChunkAgg<<T as PolarsCategoricalType>::Native>,
Available on crate feature
dtype-categorical only.