Struct polars::datatypes::BooleanType [−]
pub struct BooleanType {}
Implementations
impl BooleanType
impl BooleanType
Trait Implementations
impl ChunkCumAgg<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkCumAgg<BooleanType> for ChunkedArray<BooleanType>
[src]fn cum_max(&self, _reverse: bool) -> ChunkedArray<T>
[src]
fn cum_max(&self, _reverse: bool) -> ChunkedArray<T>
[src]Get an array with the cumulative max computed at every element
fn cum_min(&self, _reverse: bool) -> ChunkedArray<T>
[src]
fn cum_min(&self, _reverse: bool) -> ChunkedArray<T>
[src]Get an array with the cumulative min computed at every element
fn cum_sum(&self, _reverse: bool) -> ChunkedArray<T>
[src]
fn cum_sum(&self, _reverse: bool) -> ChunkedArray<T>
[src]Get an array with the cumulative sum computed at every element
impl ChunkExpandAtIndex<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkExpandAtIndex<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn expand_at_index(
&self,
index: usize,
length: usize
) -> ChunkedArray<BooleanType>
[src]
pub fn expand_at_index(
&self,
index: usize,
length: usize
) -> ChunkedArray<BooleanType>
[src]Create a new ChunkedArray filled with values at that index.
impl ChunkFilter<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkFilter<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]Filter values in the ChunkedArray with a boolean mask. Read more
impl ChunkReverse<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkReverse<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn reverse(&self) -> ChunkedArray<BooleanType>
[src]
pub fn reverse(&self) -> ChunkedArray<BooleanType>
[src]Return a reversed version of this array.
impl ChunkShift<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkShift<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn shift(&self, periods: i64) -> ChunkedArray<BooleanType>
[src]
impl ChunkShiftFill<BooleanType, Option<bool>> for ChunkedArray<BooleanType>
[src]
impl ChunkShiftFill<BooleanType, Option<bool>> for ChunkedArray<BooleanType>
[src]pub fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<bool>
) -> ChunkedArray<BooleanType>
[src]
pub fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<bool>
) -> ChunkedArray<BooleanType>
[src]Shift the values by a given period and fill the parts that will be empty due to this operation
with fill_value
. Read more
impl ChunkSort<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkSort<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn sort(&self, reverse: bool) -> ChunkedArray<BooleanType>
[src]
pub fn sort(&self, reverse: bool) -> ChunkedArray<BooleanType>
[src]Returned a sorted ChunkedArray
.
pub fn sort_in_place(&mut self, reverse: bool)
[src]
pub fn sort_in_place(&mut self, reverse: bool)
[src]Sort this array in place.
pub fn argsort(&self, reverse: bool) -> ChunkedArray<UInt32Type>
[src]
pub fn argsort(&self, reverse: bool) -> ChunkedArray<UInt32Type>
[src]Retrieve the indexes needed to sort this array.
fn argsort_multiple(
&self,
_other: &[Series],
_reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
[src]
fn argsort_multiple(
&self,
_other: &[Series],
_reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
[src]Retrieve the indexes need to sort this and the other arrays.
impl ChunkTakeEvery<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkTakeEvery<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn take_every(&self, n: usize) -> ChunkedArray<BooleanType>
[src]
pub fn take_every(&self, n: usize) -> ChunkedArray<BooleanType>
[src]Traverse and collect every nth element in a new array.
impl ChunkUnique<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkUnique<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]Get unique values of a ChunkedArray
pub fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
[src]Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
pub fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]Get a mask of all the unique values.
pub fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]Get a mask of all the duplicated values.
fn n_unique(&self) -> Result<usize, PolarsError>
[src]
fn n_unique(&self) -> Result<usize, PolarsError>
[src]Number of unique values in the ChunkedArray
fn value_counts(&self) -> Result<DataFrame, PolarsError>
[src]
fn value_counts(&self) -> Result<DataFrame, PolarsError>
[src]Count the unique values.
impl ChunkZip<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkZip<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]Create a new ChunkedArray with values from self where the mask evaluates true
and values
from other
where the mask evaluates false
Read more
impl ChunkedBuilder<bool, BooleanType> for BooleanChunkedBuilder
[src]
impl ChunkedBuilder<bool, BooleanType> for BooleanChunkedBuilder
[src]pub fn append_value(&mut self, v: bool)
[src]
pub fn append_value(&mut self, v: bool)
[src]Appends a value of type T
into the builder
pub fn append_null(&mut self)
[src]
pub fn append_null(&mut self)
[src]Appends a null slot into the builder
pub fn finish(self) -> ChunkedArray<BooleanType>
[src]
fn append_option(&mut self, opt_val: Option<N>)
[src]
impl Debug for BooleanType
impl Debug for BooleanType
impl NewChunkedArray<BooleanType, bool> for ChunkedArray<BooleanType>
[src]
impl NewChunkedArray<BooleanType, bool> for ChunkedArray<BooleanType>
[src]pub fn new_from_iter(
name: &str,
it: impl Iterator<Item = bool>
) -> ChunkedArray<BooleanType>
[src]
pub fn new_from_iter(
name: &str,
it: impl Iterator<Item = bool>
) -> ChunkedArray<BooleanType>
[src]Create a new ChunkedArray from an iterator.
pub fn new_from_slice(name: &str, v: &[bool]) -> ChunkedArray<BooleanType>
[src]
pub fn new_from_opt_slice(
name: &str,
opt_v: &[Option<bool>]
) -> ChunkedArray<BooleanType>
[src]
name: &str,
opt_v: &[Option<bool>]
) -> ChunkedArray<BooleanType>
pub fn new_from_opt_iter(
name: &str,
it: impl Iterator<Item = Option<bool>>
) -> ChunkedArray<BooleanType>
[src]
pub fn new_from_opt_iter(
name: &str,
it: impl Iterator<Item = Option<bool>>
) -> ChunkedArray<BooleanType>
[src]Create a new ChunkedArray from an iterator.
impl PolarsDataType for BooleanType
[src]
impl PolarsDataType for BooleanType
[src]impl ToDummies<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ToDummies<BooleanType> for ChunkedArray<BooleanType>
[src]fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for BooleanType
impl Send for BooleanType
impl Sync for BooleanType
impl Unpin for BooleanType
impl UnwindSafe for BooleanType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T, U> Cast<U> for T where
U: FromCast<T>,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
pub fn cast(self) -> U
pub fn cast(self) -> U
Numeric cast from self
to T
.
impl<T> FromCast<T> for T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
pub fn from_cast(t: T) -> T
Numeric cast from T
to Self
.
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,