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 ChunkSort<ListType> for ListChunked
impl ChunkSort<ListType> for ListChunked
fn sort_with(&self, options: SortOptions) -> ListChunked
Source§fn sort(&self, descending: bool) -> ListChunked
fn sort(&self, descending: bool) -> ListChunked
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<'de> Deserialize<'de> for ListType
impl<'de> Deserialize<'de> for ListType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 NumOpsDispatchInner for ListType
impl NumOpsDispatchInner for ListType
fn add_to(lhs: &ListChunked, rhs: &Series) -> PolarsResult<Series>
fn subtract(lhs: &ListChunked, rhs: &Series) -> PolarsResult<Series>
fn multiply(lhs: &ListChunked, rhs: &Series) -> PolarsResult<Series>
fn divide(lhs: &ListChunked, rhs: &Series) -> PolarsResult<Series>
fn remainder(lhs: &ListChunked, rhs: &Series) -> PolarsResult<Series>
Source§impl PolarsDataType for ListType
impl PolarsDataType for ListType
type Physical<'a> = Box<dyn Array>
type OwnedPhysical = Box<dyn Array>
type ZeroablePhysical<'a> = Option<Box<dyn Array>>
type Array = ListArray<i64>
type IsNested = TrueT
type HasViews = FalseT
type IsStruct = FalseT
type IsObject = FalseT
type IsLogical = FalseT
fn get_dtype() -> DataType
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