ChunkRollApply

Trait ChunkRollApply 

Source
pub trait ChunkRollApply: AsRefDataType {
    // Required method
    fn rolling_map(
        &self,
        f: &dyn Fn(&Series) -> Result<Series, PolarsError>,
        options: RollingOptionsFixedWindow,
    ) -> Result<Series, PolarsError>
       where Self: Sized;
}
Expand description

This differs from ChunkWindowCustom and ChunkWindow by not using a fold aggregator, but reusing a Series wrapper and calling Series aggregators. This likely is a bit slower than ChunkWindow

Required Methods§

Implementors§