[−][src]Type Definition polars::datatypes::ListChunked
type ListChunked = ChunkedArray<ListType>;
Implementations
impl ListChunked
[src]
pub fn to_ndarray<N>(&self) -> Result<Array2<N::Native>> where
N: PolarsNumericType,
[src]
N: PolarsNumericType,
This is supported on crate feature
ndarray
only.If all nested Series
have the same length, a 2 dimensional ndarray::Array
is returned.
impl ListChunked
[src]
Trait Implementations
impl ChunkCast for ListChunked
[src]
pub fn cast<N>(&self) -> Result<ChunkedArray<N>> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl ChunkCompare<&'_ ChunkedArray<ListType>> for ListChunked
[src]
pub fn eq_missing(&self, rhs: &ListChunked) -> BooleanChunked
[src]
pub fn eq(&self, rhs: &ListChunked) -> BooleanChunked
[src]
pub fn neq(&self, rhs: &ListChunked) -> BooleanChunked
[src]
pub fn gt(&self, _rhs: &ListChunked) -> BooleanChunked
[src]
pub fn gt_eq(&self, _rhs: &ListChunked) -> BooleanChunked
[src]
pub fn lt(&self, _rhs: &ListChunked) -> BooleanChunked
[src]
pub fn lt_eq(&self, _rhs: &ListChunked) -> BooleanChunked
[src]
impl ChunkExpandAtIndex<ListType> for ListChunked
[src]
pub fn expand_at_index(&self, _index: usize, _length: usize) -> ListChunked
[src]
impl ChunkFillNone for ListChunked
[src]
pub fn fill_none(&self, _strategy: FillNoneStrategy) -> Result<Self>
[src]
impl ChunkFillNoneValue<&'_ Series> for ListChunked
[src]
pub fn fill_none_with_value(&self, _value: &Series) -> Result<Self>
[src]
impl ChunkFilter<ListType> for ListChunked
[src]
pub fn filter(&self, filter: &BooleanChunked) -> Result<ListChunked>
[src]
impl ChunkFull<&'_ (dyn SeriesTrait + '_)> for ListChunked
[src]
pub fn full(
_name: &str,
_value: &dyn SeriesTrait,
_length: usize
) -> ListChunked
[src]
_name: &str,
_value: &dyn SeriesTrait,
_length: usize
) -> ListChunked
pub fn full_null(_name: &str, _length: usize) -> ListChunked
[src]
impl ChunkOps for ListChunked
[src]
pub fn rechunk(&self, chunk_lengths: Option<&[usize]>) -> Result<Self>
[src]
pub fn optional_rechunk<A>(&self, rhs: &ChunkedArray<A>) -> Result<Option<Self>>
[src]
impl ChunkReverse<ListType> for ListChunked
[src]
impl ChunkShift<ListType> for ListChunked
[src]
impl ChunkShiftFill<ListType, Option<&'_ Series>> for ListChunked
[src]
pub fn shift_and_fill(
&self,
periods: i32,
fill_value: Option<&Series>
) -> Result<ListChunked>
[src]
&self,
periods: i32,
fill_value: Option<&Series>
) -> Result<ListChunked>
impl ChunkSort<ListType> for ListChunked
[src]
pub fn sort(&self, _reverse: bool) -> Self
[src]
pub fn sort_in_place(&mut self, _reverse: bool)
[src]
pub fn argsort(&self, _reverse: bool) -> Vec<usize>
[src]
impl ChunkTake for ListChunked
[src]
pub fn take(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> Self
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> Self
pub unsafe fn take_unchecked(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> Self
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> Self
pub fn take_opt(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> Self
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> Self
pub unsafe fn take_opt_unchecked(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> Self
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> Self
pub fn take_from_single_chunked(&self, idx: &UInt32Chunked) -> Result<Self>
[src]
pub fn take_from_single_chunked_iter(
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self> where
Self: Sized,
[src]
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self> where
Self: Sized,
impl ChunkUnique<ListType> for ListChunked
[src]
pub fn unique(&self) -> Result<ChunkedArray<ListType>>
[src]
pub fn arg_unique(&self) -> Result<Vec<usize>>
[src]
pub fn n_unique(&self) -> Result<usize>
[src]
pub fn is_unique(&self) -> Result<BooleanChunked>
[src]
pub fn is_duplicated(&self) -> Result<BooleanChunked>
[src]
pub fn value_counts(&self) -> Result<DataFrame>
[src]
impl ChunkVar<Series> for ListChunked
[src]
impl ChunkWindow for ListChunked
[src]
pub fn rolling_sum(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self> where
Self: Sized,
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self> where
Self: Sized,
pub fn rolling_mean(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self> where
Self: Sized,
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self> where
Self: Sized,
pub fn rolling_min(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self> where
Self: Sized,
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self> where
Self: Sized,
pub fn rolling_max(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self> where
Self: Sized,
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self> where
Self: Sized,
impl ChunkZip<ListType> for ListChunked
[src]
pub fn zip_with(
&self,
_mask: &BooleanChunked,
_other: &ChunkedArray<ListType>
) -> Result<ChunkedArray<ListType>>
[src]
&self,
_mask: &BooleanChunked,
_other: &ChunkedArray<ListType>
) -> Result<ChunkedArray<ListType>>
pub fn zip_with_series(
&self,
_mask: &BooleanChunked,
_other: &Series
) -> Result<ChunkedArray<ListType>>
[src]
&self,
_mask: &BooleanChunked,
_other: &Series
) -> Result<ChunkedArray<ListType>>
impl CompToSeries for ListChunked
[src]
pub fn lt_series(&self, _rhs: &Series) -> BooleanChunked
[src]
pub fn gt_series(&self, _rhs: &Series) -> BooleanChunked
[src]
pub fn gt_eq_series(&self, _rhs: &Series) -> BooleanChunked
[src]
pub fn lt_eq_series(&self, _rhs: &Series) -> BooleanChunked
[src]
pub fn eq_series(&self, _rhs: &Series) -> BooleanChunked
[src]
pub fn neq_series(&self, _rhs: &Series) -> BooleanChunked
[src]
impl Debug for ListChunked
[src]
impl Downcast<GenericListArray<i32>> for ListChunked
[src]
pub fn downcast_chunks(&self) -> Vec<&ListArray>
[src]
impl<'a> FromIterator<&'a Option<Series>> for ListChunked
[src]
pub fn from_iter<I: IntoIterator<Item = &'a Option<Series>>>(iter: I) -> Self
[src]
impl<'a> FromIterator<&'a Series> for ListChunked
[src]
pub fn from_iter<I: IntoIterator<Item = &'a Series>>(iter: I) -> Self
[src]
impl<'a> FromIterator<Option<&'a Series>> for ListChunked
[src]
pub fn from_iter<I: IntoIterator<Item = Option<&'a Series>>>(iter: I) -> Self
[src]
impl FromIterator<Option<Arc<dyn SeriesTrait + 'static>>> for ListChunked
[src]
pub fn from_iter<I: IntoIterator<Item = Option<Arc<dyn SeriesTrait>>>>(
iter: I
) -> Self
[src]
iter: I
) -> Self
impl FromIterator<Option<Series>> for ListChunked
[src]
pub fn from_iter<I: IntoIterator<Item = Option<Series>>>(iter: I) -> Self
[src]
impl FromIterator<Series> for ListChunked
[src]
pub fn from_iter<I: IntoIterator<Item = Series>>(iter: I) -> Self
[src]
impl IntoGroupTuples for ListChunked
[src]
impl<'a> IntoIterator for &'a ListChunked
[src]
type Item = Option<Series>
The type of the elements being iterated over.
type IntoIter = Box<dyn PolarsIterator<Item = Self::Item> + 'a>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> Self::IntoIter
[src]
Decides which iterator fits best the current chunked array. The decision are based on the number of chunks and the existence of null values.
impl<'a> IntoNoNullIterator for &'a ListChunked
[src]
type Item = Series
type IntoIter = Box<dyn PolarsIterator<Item = Self::Item> + 'a>
pub fn into_no_null_iter(self) -> Self::IntoIter
[src]
Decides which iterator fits best the current no null chunked array. The decision are based on the number of chunks.
impl<'a> IntoParallelIterator for &'a ListChunked
[src]
This is supported on crate feature
parallel
only.Convert $ca_iter
into a ParallelIterator
using the most efficient
ParallelIterator
implementation for the given $ca_type
.
- If
$ca_type
has only a chunk and has no null values, it uses$single_chunk_return_option
. - If
$ca_type
has only a chunk and does have null values, it uses$single_chunk_null_check_return_option
. - If
$ca_type
has many chunks and has no null values, it uses$many_chunk_return_option
. - If
$ca_type
has many chunks and does have null values, it uses$many_chunk_null_check_return_option
.
type Iter = ListParIterDispatcher<'a>
The parallel iterator type that will be created.
type Item = Option<Series>
The type of item that the parallel iterator will produce.