pub trait ChunkExplode {
// Required methods
fn offsets(&self) -> Result<OffsetsBuffer<i64>, PolarsError>;
fn explode_and_offsets(
&self,
) -> Result<(Series, OffsetsBuffer<i64>), PolarsError>;
// Provided method
fn explode(&self) -> Result<Series, PolarsError> { ... }
}
Expand description
Explode/flatten a List or String Series
Required Methods§
fn offsets(&self) -> Result<OffsetsBuffer<i64>, PolarsError>
fn explode_and_offsets( &self, ) -> Result<(Series, OffsetsBuffer<i64>), PolarsError>
Provided Methods§
fn explode(&self) -> Result<Series, PolarsError>
Implementors§
impl ChunkExplode for ChunkedArray<FixedSizeListType>
Available on crate feature
dtype-array
only.