Trait polars::chunked_array::object::TakeRandom[][src]

pub trait TakeRandom {
    type Item;
    fn get(&self, index: usize) -> Option<Self::Item>;
unsafe fn get_unchecked(&self, index: usize) -> Self::Item; }
Expand description

Random access

Associated Types

Required methods

Get a nullable value by index.

Safety

Out of bounds access doesn’t Error but will return a Null value

Get a value by index and ignore the null bit.

Safety

This doesn’t check if the underlying type is null or not and may return an uninitialized value.

Implementors