Trait polars::prelude::ChunkSort[][src]

pub trait ChunkSort<T> {
    pub fn sort(&self, reverse: bool) -> ChunkedArray<T>;
pub fn sort_in_place(&mut self, reverse: bool);
pub fn argsort(&self, reverse: bool) -> Vec<usize, Global>; }

Sort operations on ChunkedArray.

Required methods

pub fn sort(&self, reverse: bool) -> ChunkedArray<T>[src]

Returned a sorted ChunkedArray.

pub fn sort_in_place(&mut self, reverse: bool)[src]

Sort this array in place.

pub fn argsort(&self, reverse: bool) -> Vec<usize, Global>[src]

Retrieve the indexes needed to sort this array.

Loading content...

Implementors

impl ChunkSort<BooleanType> for ChunkedArray<BooleanType>[src]

impl ChunkSort<CategoricalType> for ChunkedArray<CategoricalType>[src]

impl ChunkSort<ListType> for ChunkedArray<ListType>[src]

impl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>[src]

impl<T> ChunkSort<ObjectType<T>> for ChunkedArray<ObjectType<T>>[src]

impl<T> ChunkSort<T> for ChunkedArray<T> where
    T: PolarsNumericType,
    <T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>, 
[src]

Loading content...