Skip to main content

ArrayNameSpace

Trait ArrayNameSpace 

Source
pub trait ArrayNameSpace: AsArray {
Show 15 methods // Provided methods fn array_max(&self) -> Series { ... } fn array_min(&self) -> Series { ... } fn array_sum(&self) -> Result<Series, PolarsError> { ... } fn array_mean(&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_sort( &self, options: SortOptions, ) -> Result<ChunkedArray<FixedSizeListType>, PolarsError> { ... } 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_count_matches( &self, element: AnyValue<'_>, ) -> Result<Series, PolarsError> { ... } fn array_shift(&self, n: &Series) -> Result<Series, PolarsError> { ... } fn array_slice( &self, offset: i64, length: i64, ) -> Result<Series, PolarsError> { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§