Trait polars_core::chunked_array::builder::NewChunkedArray [−][src]
pub trait NewChunkedArray<T, N> {
fn new_from_slice(name: &str, v: &[N]) -> Self;
fn new_from_opt_slice(name: &str, opt_v: &[Option<N>]) -> Self;
fn new_from_opt_iter(
name: &str,
it: impl Iterator<Item = Option<N>>
) -> Self;
fn new_from_iter(name: &str, it: impl Iterator<Item = N>) -> Self;
}
Required methods
fn new_from_slice(name: &str, v: &[N]) -> Self
fn new_from_opt_iter(name: &str, it: impl Iterator<Item = Option<N>>) -> Self
fn new_from_opt_iter(name: &str, it: impl Iterator<Item = Option<N>>) -> Self
Create a new ChunkedArray from an iterator.
fn new_from_iter(name: &str, it: impl Iterator<Item = N>) -> Self
fn new_from_iter(name: &str, it: impl Iterator<Item = N>) -> Self
Create a new ChunkedArray from an iterator.
Implementors
impl<T> NewChunkedArray<ObjectType<T>, T> for ObjectChunked<T> where
T: PolarsObject,
This is supported on crate feature
object
only.