Trait polars_core::chunked_array::ops::ChunkExplode

source ·
pub trait ChunkExplode {
    // Required methods
    fn offsets(&self) -> PolarsResult<OffsetsBuffer<i64>>;
    fn explode_and_offsets(&self) -> PolarsResult<(Series, OffsetsBuffer<i64>)>;

    // Provided method
    fn explode(&self) -> PolarsResult<Series> { ... }
}
Expand description

Explode/flatten a List or String Series

Required Methods§

source

fn offsets(&self) -> PolarsResult<OffsetsBuffer<i64>>

source

fn explode_and_offsets(&self) -> PolarsResult<(Series, OffsetsBuffer<i64>)>

Provided Methods§

Implementors§