Trait polars::prelude::ChunkedCollectInferIterExt
source · pub trait ChunkedCollectInferIterExt<T>: Sized + Iteratorwhere
T: PolarsDataType,{
// Provided methods
fn collect_ca(self, name: &str) -> ChunkedArray<T>
where <T as PolarsDataType>::Array: ArrayFromIter<Self::Item> { ... }
fn collect_ca_trusted(self, name: &str) -> ChunkedArray<T>
where <T as PolarsDataType>::Array: ArrayFromIter<Self::Item>,
Self: TrustedLen { ... }
fn try_collect_ca<U, E>(self, name: &str) -> Result<ChunkedArray<T>, E>
where <T as PolarsDataType>::Array: ArrayFromIter<U>,
Self: Iterator<Item = Result<U, E>> { ... }
fn try_collect_ca_trusted<U, E>(
self,
name: &str
) -> Result<ChunkedArray<T>, E>
where <T as PolarsDataType>::Array: ArrayFromIter<U>,
Self: Iterator<Item = Result<U, E>> + TrustedLen { ... }
}
Provided Methods§
fn collect_ca(self, name: &str) -> ChunkedArray<T>
fn collect_ca_trusted(self, name: &str) -> ChunkedArray<T>
fn try_collect_ca<U, E>(self, name: &str) -> Result<ChunkedArray<T>, E>
fn try_collect_ca_trusted<U, E>(self, name: &str) -> Result<ChunkedArray<T>, E>where
<T as PolarsDataType>::Array: ArrayFromIter<U>,
Self: Iterator<Item = Result<U, E>> + TrustedLen,
Object Safety§
This trait is not object safe.