Trait polars::chunked_array::collect::ChunkedCollectIterExt
source · pub trait ChunkedCollectIterExt<T>: Sized + Iteratorwhere
T: PolarsDataType,{
// Provided methods
fn collect_ca_with_dtype(
self,
name: &str,
dtype: DataType
) -> ChunkedArray<T>
where <T as PolarsDataType>::Array: ArrayFromIterDtype<Self::Item> { ... }
fn collect_ca_like(
self,
name_dtype_src: &ChunkedArray<T>
) -> ChunkedArray<T>
where <T as PolarsDataType>::Array: ArrayFromIterDtype<Self::Item> { ... }
fn collect_ca_trusted_with_dtype(
self,
name: &str,
dtype: DataType
) -> ChunkedArray<T>
where <T as PolarsDataType>::Array: ArrayFromIterDtype<Self::Item>,
Self: TrustedLen { ... }
fn collect_ca_trusted_like(
self,
name_dtype_src: &ChunkedArray<T>
) -> ChunkedArray<T>
where <T as PolarsDataType>::Array: ArrayFromIterDtype<Self::Item>,
Self: TrustedLen { ... }
fn try_collect_ca_with_dtype<U, E>(
self,
name: &str,
dtype: DataType
) -> Result<ChunkedArray<T>, E>
where <T as PolarsDataType>::Array: ArrayFromIterDtype<U>,
Self: Iterator<Item = Result<U, E>> { ... }
fn try_collect_ca_like<U, E>(
self,
name_dtype_src: &ChunkedArray<T>
) -> Result<ChunkedArray<T>, E>
where <T as PolarsDataType>::Array: ArrayFromIterDtype<U>,
Self: Iterator<Item = Result<U, E>> { ... }
fn try_collect_ca_trusted_with_dtype<U, E>(
self,
name: &str,
dtype: DataType
) -> Result<ChunkedArray<T>, E>
where <T as PolarsDataType>::Array: ArrayFromIterDtype<U>,
Self: Iterator<Item = Result<U, E>> + TrustedLen { ... }
fn try_collect_ca_trusted_like<U, E>(
self,
name_dtype_src: &ChunkedArray<T>
) -> Result<ChunkedArray<T>, E>
where <T as PolarsDataType>::Array: ArrayFromIterDtype<U>,
Self: Iterator<Item = Result<U, E>> + TrustedLen { ... }
}
Provided Methods§
fn collect_ca_with_dtype(self, name: &str, dtype: DataType) -> ChunkedArray<T>
fn collect_ca_like(self, name_dtype_src: &ChunkedArray<T>) -> ChunkedArray<T>
fn collect_ca_trusted_with_dtype( self, name: &str, dtype: DataType ) -> ChunkedArray<T>
fn collect_ca_trusted_like( self, name_dtype_src: &ChunkedArray<T> ) -> ChunkedArray<T>
fn try_collect_ca_with_dtype<U, E>( self, name: &str, dtype: DataType ) -> Result<ChunkedArray<T>, E>
fn try_collect_ca_like<U, E>( self, name_dtype_src: &ChunkedArray<T> ) -> Result<ChunkedArray<T>, E>
fn try_collect_ca_trusted_with_dtype<U, E>(
self,
name: &str,
dtype: DataType
) -> Result<ChunkedArray<T>, E>where
<T as PolarsDataType>::Array: ArrayFromIterDtype<U>,
Self: Iterator<Item = Result<U, E>> + TrustedLen,
fn try_collect_ca_trusted_like<U, E>(
self,
name_dtype_src: &ChunkedArray<T>
) -> Result<ChunkedArray<T>, E>where
<T as PolarsDataType>::Array: ArrayFromIterDtype<U>,
Self: Iterator<Item = Result<U, E>> + TrustedLen,
Object Safety§
This trait is not object safe.