Trait polars_core::chunked_array::ops::ChunkCast[][src]

pub trait ChunkCast {
    fn cast(&self, data_type: &DataType) -> Result<Series>;
}
Expand description

Cast ChunkedArray<T> to ChunkedArray<N>

Required methods

Cast a [ChunkedArray] to [DataType]

Implementors

We cannot cast anything to or from List/LargeList So this implementation casts the inner type