Trait polars::prelude::array::ArrayNameSpace
source · pub trait ArrayNameSpace: AsArray {
Show 16 methods
// Provided methods
fn array_max(&self) -> Series { ... }
fn array_min(&self) -> Series { ... }
fn array_sum(&self) -> Result<Series, PolarsError> { ... }
fn array_median(&self) -> Result<Series, PolarsError> { ... }
fn array_std(&self, ddof: u8) -> Result<Series, PolarsError> { ... }
fn array_var(&self, ddof: u8) -> Result<Series, PolarsError> { ... }
fn array_unique(&self) -> Result<ChunkedArray<ListType>, PolarsError> { ... }
fn array_unique_stable(&self) -> Result<ChunkedArray<ListType>, PolarsError> { ... }
fn array_n_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError> { ... }
fn array_sort(
&self,
options: SortOptions
) -> Result<ChunkedArray<FixedSizeListType>, PolarsError> { ... }
fn array_reverse(&self) -> ChunkedArray<FixedSizeListType> { ... }
fn array_arg_min(&self) -> ChunkedArray<UInt32Type> { ... }
fn array_arg_max(&self) -> ChunkedArray<UInt32Type> { ... }
fn array_get(
&self,
index: &ChunkedArray<Int64Type>,
null_on_oob: bool
) -> Result<Series, PolarsError> { ... }
fn array_join(
&self,
separator: &ChunkedArray<StringType>,
ignore_nulls: bool
) -> Result<Series, PolarsError> { ... }
fn array_shift(&self, n: &Series) -> Result<Series, PolarsError> { ... }
}
Available on crate features
polars-ops
and dtype-array
only.