Trait polars_core::chunked_array::ops::ChunkAnyValue [−][src]
pub trait ChunkAnyValue {
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>;
fn get_any_value(&self, index: usize) -> AnyValue<'_>;
}
Required methods
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32
Safety
Does not do any bounds checking.
fn get_any_value(&self, index: usize) -> AnyValue<'_>
fn get_any_value(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow.
Implementors
impl<T: PolarsObject> ChunkAnyValue for ObjectChunked<T>
This is supported on crate feature
object
only.