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§
fn offsets(&self) -> PolarsResult<OffsetsBuffer<i64>>
fn explode_and_offsets(&self) -> PolarsResult<(Series, OffsetsBuffer<i64>)>
Provided Methods§
fn explode(&self) -> PolarsResult<Series>
Implementors§
impl ChunkExplode for ArrayChunked
Available on crate feature
dtype-array
only.