Struct polars_core::datatypes::ListType
source · pub struct ListType {}
Trait Implementations§
source§impl ChunkExpandAtIndex<ListType> for ListChunked
impl ChunkExpandAtIndex<ListType> for ListChunked
source§fn new_from_index(&self, index: usize, length: usize) -> ListChunked
fn new_from_index(&self, index: usize, length: usize) -> ListChunked
Create a new ChunkedArray filled with values at that index.
source§impl ChunkShift<ListType> for ListChunked
impl ChunkShift<ListType> for ListChunked
source§impl ChunkShiftFill<ListType, Option<&Series>> for ListChunked
impl ChunkShiftFill<ListType, Option<&Series>> for ListChunked
source§fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<&Series>,
) -> ListChunked
fn shift_and_fill( &self, periods: i64, fill_value: Option<&Series>, ) -> ListChunked
Shift the values by a given period and fill the parts that will be empty due to this operation
with
fill_value
.source§impl<T: AsRef<[Series]>> NamedFrom<T, ListType> for Series
impl<T: AsRef<[Series]>> NamedFrom<T, ListType> for Series
source§fn new(name: PlSmallStr, s: T) -> Self
fn new(name: PlSmallStr, s: T) -> Self
Initialize by name and values.
source§impl PolarsDataType for ListType
impl PolarsDataType for ListType
Auto Trait Implementations§
impl Freeze for ListType
impl RefUnwindSafe for ListType
impl Send for ListType
impl Sync for ListType
impl Unpin for ListType
impl UnwindSafe for ListType
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> 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