Trait polars::prelude::ChunkCast [−][src]
Cast ChunkedArray<T>
to ChunkedArray<N>
Required methods
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
Cast ChunkedArray<T>
to ChunkedArray<N>
Implementors
impl ChunkCast for ChunkedArray<BooleanType>
[src]
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl ChunkCast for ChunkedArray<CategoricalType>
[src]
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl ChunkCast for ChunkedArray<ListType>
[src]
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl ChunkCast for ChunkedArray<Utf8Type>
[src]
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl<T> ChunkCast for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: ToPrimitive,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: ToPrimitive,
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,