pub struct BinaryType {}
Trait Implementations§
Source§impl ChunkExpandAtIndex<BinaryType> for BinaryChunked
impl ChunkExpandAtIndex<BinaryType> for BinaryChunked
Source§fn new_from_index(&self, index: usize, length: usize) -> BinaryChunked
fn new_from_index(&self, index: usize, length: usize) -> BinaryChunked
Create a new ChunkedArray filled with values at that index.
Source§impl ChunkFilter<BinaryType> for BinaryChunked
impl ChunkFilter<BinaryType> for BinaryChunked
Source§fn filter(
&self,
filter: &BooleanChunked,
) -> PolarsResult<ChunkedArray<BinaryType>>
fn filter( &self, filter: &BooleanChunked, ) -> PolarsResult<ChunkedArray<BinaryType>>
Filter values in the ChunkedArray with a boolean mask. Read more
Source§impl ChunkShift<BinaryType> for BinaryChunked
impl ChunkShift<BinaryType> for BinaryChunked
Source§impl ChunkShiftFill<BinaryType, Option<&[u8]>> for BinaryChunked
impl ChunkShiftFill<BinaryType, Option<&[u8]>> for BinaryChunked
Source§fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<&[u8]>,
) -> BinaryChunked
fn shift_and_fill( &self, periods: i64, fill_value: Option<&[u8]>, ) -> BinaryChunked
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<BinaryType> for BinaryChunked
impl ChunkSort<BinaryType> for BinaryChunked
fn sort_with(&self, options: SortOptions) -> ChunkedArray<BinaryType>
Source§fn sort(&self, descending: bool) -> ChunkedArray<BinaryType>
fn sort(&self, descending: bool) -> ChunkedArray<BinaryType>
Returned a sorted
ChunkedArray
.Source§fn arg_sort(&self, options: SortOptions) -> IdxCa
fn arg_sort(&self, options: SortOptions) -> IdxCa
Retrieve the indexes needed to sort this array.
Source§fn arg_sort_multiple(
&self,
by: &[Column],
options: &SortMultipleOptions,
) -> PolarsResult<IdxCa>
fn arg_sort_multiple( &self, by: &[Column], options: &SortMultipleOptions, ) -> PolarsResult<IdxCa>
Retrieve the indexes need to sort this and the other arrays.
Source§impl Clone for BinaryType
impl Clone for BinaryType
Source§fn clone(&self) -> BinaryType
fn clone(&self) -> BinaryType
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<B> NewChunkedArray<BinaryType, B> for BinaryChunked
impl<B> NewChunkedArray<BinaryType, B> for BinaryChunked
Source§fn from_iter_values(name: PlSmallStr, it: impl Iterator<Item = B>) -> Self
fn from_iter_values(name: PlSmallStr, it: impl Iterator<Item = B>) -> Self
Create a new ChunkedArray from an iterator.
fn from_slice(name: PlSmallStr, v: &[B]) -> Self
fn from_slice_options(name: PlSmallStr, opt_v: &[Option<B>]) -> Self
Source§fn from_iter_options(
name: PlSmallStr,
it: impl Iterator<Item = Option<B>>,
) -> Self
fn from_iter_options( name: PlSmallStr, it: impl Iterator<Item = Option<B>>, ) -> Self
Create a new ChunkedArray from an iterator.
Source§impl NumOpsDispatchInner for BinaryType
impl NumOpsDispatchInner for BinaryType
fn add_to(lhs: &BinaryChunked, rhs: &Series) -> PolarsResult<Series>
fn subtract(lhs: &ChunkedArray<Self>, rhs: &Series) -> PolarsResult<Series>
fn multiply(lhs: &ChunkedArray<Self>, rhs: &Series) -> PolarsResult<Series>
fn divide(lhs: &ChunkedArray<Self>, rhs: &Series) -> PolarsResult<Series>
fn remainder(lhs: &ChunkedArray<Self>, rhs: &Series) -> PolarsResult<Series>
Source§impl PolarsDataType for BinaryType
impl PolarsDataType for BinaryType
type Physical<'a> = &'a [u8]
type OwnedPhysical = Box<[u8]>
type ZeroablePhysical<'a> = Option<&'a [u8]>
type Array = BinaryViewArrayGeneric<[u8]>
type IsNested = FalseT
type HasViews = TrueT
type IsStruct = FalseT
type IsObject = FalseT
type IsLogical = FalseT
fn get_dtype() -> DataType
impl Copy for BinaryType
Auto Trait Implementations§
impl Freeze for BinaryType
impl RefUnwindSafe for BinaryType
impl Send for BinaryType
impl Sync for BinaryType
impl Unpin for BinaryType
impl UnwindSafe for BinaryType
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,
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