pub struct BinaryOffsetType {}
Trait Implementations§
Source§impl ChunkExpandAtIndex<BinaryOffsetType> for ChunkedArray<BinaryOffsetType>
impl ChunkExpandAtIndex<BinaryOffsetType> for ChunkedArray<BinaryOffsetType>
Source§fn new_from_index(
&self,
index: usize,
length: usize,
) -> ChunkedArray<BinaryOffsetType>
fn new_from_index( &self, index: usize, length: usize, ) -> ChunkedArray<BinaryOffsetType>
Create a new ChunkedArray filled with values at that index.
Source§impl ChunkShift<BinaryOffsetType> for ChunkedArray<BinaryOffsetType>
impl ChunkShift<BinaryOffsetType> for ChunkedArray<BinaryOffsetType>
fn shift(&self, periods: i64) -> ChunkedArray<BinaryOffsetType>
Source§impl ChunkShiftFill<BinaryOffsetType, Option<&[u8]>> for ChunkedArray<BinaryOffsetType>
impl ChunkShiftFill<BinaryOffsetType, Option<&[u8]>> for ChunkedArray<BinaryOffsetType>
Source§fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<&[u8]>,
) -> ChunkedArray<BinaryOffsetType>
fn shift_and_fill( &self, periods: i64, fill_value: Option<&[u8]>, ) -> ChunkedArray<BinaryOffsetType>
Shift the values by a given period and fill the parts that will be empty due to this operation
with
fill_value
.Source§impl ChunkSort<BinaryOffsetType> for ChunkedArray<BinaryOffsetType>
impl ChunkSort<BinaryOffsetType> for ChunkedArray<BinaryOffsetType>
Source§fn arg_sort_multiple(
&self,
by: &[Column],
options: &SortMultipleOptions,
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_sort_multiple( &self, by: &[Column], options: &SortMultipleOptions, ) -> Result<ChunkedArray<UInt32Type>, PolarsError>
§Panics
This function is very opinionated. On the implementation of ChunkedArray<T>
for numeric types,
we assume that all numeric Series
are of the same type.
In this case we assume that all numeric Series
are f64
types. The caller needs to
uphold this contract. If not, it will panic.
fn sort_with(&self, options: SortOptions) -> ChunkedArray<BinaryOffsetType>
Source§fn sort(&self, descending: bool) -> ChunkedArray<BinaryOffsetType>
fn sort(&self, descending: bool) -> ChunkedArray<BinaryOffsetType>
Returned a sorted
ChunkedArray
.Source§fn arg_sort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn arg_sort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
Source§impl Clone for BinaryOffsetType
impl Clone for BinaryOffsetType
Source§fn clone(&self) -> BinaryOffsetType
fn clone(&self) -> BinaryOffsetType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PolarsDataType for BinaryOffsetType
impl PolarsDataType for BinaryOffsetType
type Physical<'a> = &'a [u8]
type OwnedPhysical = Box<[u8]>
type ZeroablePhysical<'a> = Option<&'a [u8]>
type Array = BinaryArray<i64>
type IsNested = FalseT
type HasViews = FalseT
type IsStruct = FalseT
type IsObject = FalseT
fn get_dtype() -> DataType
impl Copy for BinaryOffsetType
Auto Trait Implementations§
impl Freeze for BinaryOffsetType
impl RefUnwindSafe for BinaryOffsetType
impl Send for BinaryOffsetType
impl Sync for BinaryOffsetType
impl Unpin for BinaryOffsetType
impl UnwindSafe for BinaryOffsetType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more