polars_lazy::prelude

Trait PolarsTemporalGroupby

Source
pub trait PolarsTemporalGroupby {
    // Required methods
    fn rolling(
        &self,
        group_by: Vec<Column>,
        options: &RollingGroupOptions,
    ) -> Result<(Column, Vec<Column>, GroupsProxy), PolarsError>;
    fn group_by_dynamic(
        &self,
        group_by: Vec<Column>,
        options: &DynamicGroupOptions,
    ) -> Result<(Column, Vec<Column>, GroupsProxy), PolarsError>;
}
Available on crate feature dynamic_group_by only.

Required Methods§

Source

fn rolling( &self, group_by: Vec<Column>, options: &RollingGroupOptions, ) -> Result<(Column, Vec<Column>, GroupsProxy), PolarsError>

Source

fn group_by_dynamic( &self, group_by: Vec<Column>, options: &DynamicGroupOptions, ) -> Result<(Column, Vec<Column>, GroupsProxy), PolarsError>

Implementations on Foreign Types§

Source§

impl PolarsTemporalGroupby for DataFrame

Source§

fn rolling( &self, group_by: Vec<Column>, options: &RollingGroupOptions, ) -> Result<(Column, Vec<Column>, GroupsProxy), PolarsError>

Source§

fn group_by_dynamic( &self, group_by: Vec<Column>, options: &DynamicGroupOptions, ) -> Result<(Column, Vec<Column>, GroupsProxy), PolarsError>

Implementors§