polars_core::frame::column

Enum Column

Source
pub enum Column {
    Series(SeriesColumn),
    Partitioned(PartitionedColumn),
    Scalar(ScalarColumn),
}
Expand description

A column within a DataFrame.

This is lazily initialized to a Series with methods like as_materialized_series and take_materialized_series.

Currently, there are two ways to represent a Column.

  1. A Series of values
  2. A ScalarColumn that repeats a single Scalar

Variants§

§

Series(SeriesColumn)

§

Partitioned(PartitionedColumn)

§

Scalar(ScalarColumn)

Implementations§

Source§

impl Column

Source

pub fn new<T, Phantom>(name: PlSmallStr, values: T) -> Self
where Phantom: ?Sized, Series: NamedFrom<T, Phantom>,

Source

pub fn new_empty(name: PlSmallStr, dtype: &DataType) -> Self

Source

pub fn new_scalar(name: PlSmallStr, scalar: Scalar, length: usize) -> Self

Source

pub fn new_partitioned(name: PlSmallStr, scalar: Scalar, length: usize) -> Self

Source

pub fn as_materialized_series(&self) -> &Series

Get a reference to a Series for this Column

This may need to materialize the Series on the first invocation for a specific column.

Source

pub fn into_materialized_series(&mut self) -> &mut Series

Turn Column into a Column::Series.

This may need to materialize the Series on the first invocation for a specific column.

Source

pub fn take_materialized_series(self) -> Series

Take Series from a Column

This may need to materialize the Series on the first invocation for a specific column.

Source

pub fn dtype(&self) -> &DataType

Source

pub fn field(&self) -> Cow<'_, Field>

Source

pub fn name(&self) -> &PlSmallStr

Source

pub fn len(&self) -> usize

Source

pub fn with_name(self, name: PlSmallStr) -> Column

Source

pub fn rename(&mut self, name: PlSmallStr)

Source

pub fn as_series(&self) -> Option<&Series>

Source

pub fn as_partitioned_column(&self) -> Option<&PartitionedColumn>

Source

pub fn as_scalar_column(&self) -> Option<&ScalarColumn>

Source

pub fn try_bool(&self) -> Option<&BooleanChunked>

Source

pub fn try_i8(&self) -> Option<&Int8Chunked>

Source

pub fn try_i16(&self) -> Option<&Int16Chunked>

Source

pub fn try_i32(&self) -> Option<&Int32Chunked>

Source

pub fn try_i64(&self) -> Option<&Int64Chunked>

Source

pub fn try_u8(&self) -> Option<&UInt8Chunked>

Source

pub fn try_u16(&self) -> Option<&UInt16Chunked>

Source

pub fn try_u32(&self) -> Option<&UInt32Chunked>

Source

pub fn try_u64(&self) -> Option<&UInt64Chunked>

Source

pub fn try_f32(&self) -> Option<&Float32Chunked>

Source

pub fn try_f64(&self) -> Option<&Float64Chunked>

Source

pub fn try_str(&self) -> Option<&StringChunked>

Source

pub fn try_list(&self) -> Option<&ListChunked>

Source

pub fn try_binary(&self) -> Option<&BinaryChunked>

Source

pub fn try_idx(&self) -> Option<&IdxCa>

Source

pub fn try_binary_offset(&self) -> Option<&BinaryOffsetChunked>

Source

pub fn try_decimal(&self) -> Option<&DecimalChunked>

Available on crate feature dtype-decimal only.
Source

pub fn try_array(&self) -> Option<&ArrayChunked>

Available on crate feature dtype-array only.
Source

pub fn try_categorical(&self) -> Option<&CategoricalChunked>

Available on crate feature dtype-categorical only.
Source

pub fn bool(&self) -> PolarsResult<&BooleanChunked>

Source

pub fn i8(&self) -> PolarsResult<&Int8Chunked>

Source

pub fn i16(&self) -> PolarsResult<&Int16Chunked>

Source

pub fn i32(&self) -> PolarsResult<&Int32Chunked>

Source

pub fn i64(&self) -> PolarsResult<&Int64Chunked>

Source

pub fn i128(&self) -> PolarsResult<&Int128Chunked>

Available on crate feature dtype-i128 only.
Source

pub fn u8(&self) -> PolarsResult<&UInt8Chunked>

Source

pub fn u16(&self) -> PolarsResult<&UInt16Chunked>

Source

pub fn u32(&self) -> PolarsResult<&UInt32Chunked>

Source

pub fn u64(&self) -> PolarsResult<&UInt64Chunked>

Source

pub fn f32(&self) -> PolarsResult<&Float32Chunked>

Source

pub fn f64(&self) -> PolarsResult<&Float64Chunked>

Source

pub fn str(&self) -> PolarsResult<&StringChunked>

Source

pub fn list(&self) -> PolarsResult<&ListChunked>

Source

pub fn binary(&self) -> PolarsResult<&BinaryChunked>

Source

pub fn idx(&self) -> PolarsResult<&IdxCa>

Source

pub fn binary_offset(&self) -> PolarsResult<&BinaryOffsetChunked>

Source

pub fn decimal(&self) -> PolarsResult<&DecimalChunked>

Available on crate feature dtype-decimal only.
Source

pub fn array(&self) -> PolarsResult<&ArrayChunked>

Available on crate feature dtype-array only.
Source

pub fn categorical(&self) -> PolarsResult<&CategoricalChunked>

Available on crate feature dtype-categorical only.
Source

pub fn cast_with_options( &self, dtype: &DataType, options: CastOptions, ) -> PolarsResult<Self>

Source

pub fn strict_cast(&self, dtype: &DataType) -> PolarsResult<Self>

Source

pub fn cast(&self, dtype: &DataType) -> PolarsResult<Column>

Source

pub unsafe fn cast_unchecked(&self, dtype: &DataType) -> PolarsResult<Column>

§Safety

This can lead to invalid memory access in downstream code.

Source

pub fn clear(&self) -> Self

Source

pub fn shrink_to_fit(&mut self)

Source

pub fn new_from_index(&self, index: usize, length: usize) -> Self

Source

pub fn has_nulls(&self) -> bool

Source

pub fn is_null(&self) -> BooleanChunked

Source

pub fn is_not_null(&self) -> BooleanChunked

Source

pub fn to_physical_repr(&self) -> Column

Source

pub unsafe fn from_physical_unchecked( &self, dtype: &DataType, ) -> PolarsResult<Column>

§Safety

This can lead to invalid memory access in downstream code.

Source

pub fn head(&self, length: Option<usize>) -> Column

Source

pub fn tail(&self, length: Option<usize>) -> Column

Source

pub fn slice(&self, offset: i64, length: usize) -> Column

Source

pub fn split_at(&self, offset: i64) -> (Column, Column)

Source

pub fn null_count(&self) -> usize

Source

pub fn take(&self, indices: &IdxCa) -> PolarsResult<Column>

Source

pub fn take_slice(&self, indices: &[IdxSize]) -> PolarsResult<Column>

Source

pub unsafe fn take_unchecked(&self, indices: &IdxCa) -> Column

§Safety

No bounds on the indexes are performed.

Source

pub unsafe fn take_slice_unchecked(&self, indices: &[IdxSize]) -> Column

§Safety

No bounds on the indexes are performed.

Source

pub unsafe fn agg_min(&self, groups: &GroupsProxy) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_max(&self, groups: &GroupsProxy) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_mean(&self, groups: &GroupsProxy) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_sum(&self, groups: &GroupsProxy) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_first(&self, groups: &GroupsProxy) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_last(&self, groups: &GroupsProxy) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_n_unique(&self, groups: &GroupsProxy) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_quantile( &self, groups: &GroupsProxy, quantile: f64, method: QuantileMethod, ) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_median(&self, groups: &GroupsProxy) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_var(&self, groups: &GroupsProxy, ddof: u8) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_std(&self, groups: &GroupsProxy, ddof: u8) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub unsafe fn agg_list(&self, groups: &GroupsProxy) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub fn agg_valid_count(&self, groups: &GroupsProxy) -> Self

Available on crate feature algorithm_group_by only.
§Safety

Does no bounds checks, groups must be correct.

Source

pub fn full_null(name: PlSmallStr, size: usize, dtype: &DataType) -> Self

Source

pub fn is_empty(&self) -> bool

Source

pub fn reverse(&self) -> Column

Source

pub fn equals(&self, other: &Column) -> bool

Source

pub fn equals_missing(&self, other: &Column) -> bool

Source

pub fn set_sorted_flag(&mut self, sorted: IsSorted)

Source

pub fn get_flags(&self) -> StatisticsFlags

Source

pub fn vec_hash( &self, build_hasher: PlRandomState, buf: &mut Vec<u64>, ) -> PolarsResult<()>

Source

pub fn vec_hash_combine( &self, build_hasher: PlRandomState, hashes: &mut [u64], ) -> PolarsResult<()>

Source

pub fn append(&mut self, other: &Column) -> PolarsResult<&mut Self>

Source

pub fn arg_sort(&self, options: SortOptions) -> IdxCa

Source

pub fn bit_repr(&self) -> Option<BitRepr>

Source

pub fn into_frame(self) -> DataFrame

Source

pub fn extend(&mut self, other: &Column) -> PolarsResult<&mut Self>

Source

pub fn rechunk(&self) -> Column

Source

pub fn explode(&self) -> PolarsResult<Column>

Source

pub fn implode(&self) -> PolarsResult<ListChunked>

Source

pub fn fill_null(&self, strategy: FillNullStrategy) -> PolarsResult<Self>

Source

pub fn divide(&self, rhs: &Column) -> PolarsResult<Self>

Source

pub fn shift(&self, periods: i64) -> Column

Source

pub fn zip_with( &self, mask: &BooleanChunked, other: &Self, ) -> PolarsResult<Self>

Available on crate feature zip_with only.
Source

pub fn zip_with_same_type( &self, mask: &ChunkedArray<BooleanType>, other: &Column, ) -> PolarsResult<Column>

Available on crate feature zip_with only.
Source

pub fn drop_nulls(&self) -> Column

Source

pub fn as_list(&self) -> ListChunked

Packs every element into a list.

Source

pub fn is_sorted_flag(&self) -> IsSorted

Source

pub fn unique(&self) -> PolarsResult<Column>

Source

pub fn unique_stable(&self) -> PolarsResult<Column>

Source

pub fn reshape_list( &self, dimensions: &[ReshapeDimension], ) -> PolarsResult<Self>

Source

pub fn reshape_array( &self, dimensions: &[ReshapeDimension], ) -> PolarsResult<Self>

Available on crate feature dtype-array only.
Source

pub fn sort(&self, sort_options: SortOptions) -> PolarsResult<Self>

Source

pub fn filter(&self, filter: &BooleanChunked) -> PolarsResult<Self>

Source

pub fn shuffle(&self, seed: Option<u64>) -> Self

Available on crate feature random only.
Source

pub fn sample_frac( &self, frac: f64, with_replacement: bool, shuffle: bool, seed: Option<u64>, ) -> PolarsResult<Self>

Available on crate feature random only.
Source

pub fn sample_n( &self, n: usize, with_replacement: bool, shuffle: bool, seed: Option<u64>, ) -> PolarsResult<Self>

Available on crate feature random only.
Source

pub fn gather_every(&self, n: usize, offset: usize) -> Column

Source

pub fn extend_constant( &self, value: AnyValue<'_>, n: usize, ) -> PolarsResult<Self>

Source

pub fn is_finite(&self) -> PolarsResult<BooleanChunked>

Source

pub fn is_infinite(&self) -> PolarsResult<BooleanChunked>

Source

pub fn is_nan(&self) -> PolarsResult<BooleanChunked>

Source

pub fn is_not_nan(&self) -> PolarsResult<BooleanChunked>

Source

pub fn wrapping_trunc_div_scalar<T>(&self, rhs: T) -> Self
where T: Num + NumCast,

Source

pub fn product(&self) -> PolarsResult<Scalar>

Source

pub fn phys_iter(&self) -> SeriesPhysIter<'_>

Source

pub fn get(&self, index: usize) -> PolarsResult<AnyValue<'_>>

Source

pub unsafe fn get_unchecked(&self, index: usize) -> AnyValue<'_>

§Safety

Does not perform bounds check on index

Source

pub fn get_object(&self, index: usize) -> Option<&dyn PolarsObjectSafe>

Available on crate feature object only.
Source

pub fn bitand(&self, rhs: &Self) -> PolarsResult<Self>

Source

pub fn bitor(&self, rhs: &Self) -> PolarsResult<Self>

Source

pub fn bitxor(&self, rhs: &Self) -> PolarsResult<Self>

Source

pub fn try_add_owned(self, other: Self) -> PolarsResult<Self>

Source

pub fn try_sub_owned(self, other: Self) -> PolarsResult<Self>

Source

pub fn try_mul_owned(self, other: Self) -> PolarsResult<Self>

Source

pub fn min_reduce(&self) -> PolarsResult<Scalar>

Source

pub fn max_reduce(&self) -> PolarsResult<Scalar>

Source

pub fn median_reduce(&self) -> PolarsResult<Scalar>

Source

pub fn mean_reduce(&self) -> Scalar

Source

pub fn std_reduce(&self, ddof: u8) -> PolarsResult<Scalar>

Source

pub fn var_reduce(&self, ddof: u8) -> PolarsResult<Scalar>

Source

pub fn sum_reduce(&self) -> PolarsResult<Scalar>

Source

pub fn and_reduce(&self) -> PolarsResult<Scalar>

Source

pub fn or_reduce(&self) -> PolarsResult<Scalar>

Source

pub fn xor_reduce(&self) -> PolarsResult<Scalar>

Source

pub fn n_unique(&self) -> PolarsResult<usize>

Source

pub fn quantile_reduce( &self, quantile: f64, method: QuantileMethod, ) -> PolarsResult<Scalar>

Source

pub fn sort_with(&self, options: SortOptions) -> PolarsResult<Self>

Source

pub fn map_unary_elementwise_to_bool( &self, f: impl Fn(&Series) -> BooleanChunked, ) -> BooleanChunked

Source

pub fn try_map_unary_elementwise_to_bool( &self, f: impl Fn(&Series) -> PolarsResult<BooleanChunked>, ) -> PolarsResult<BooleanChunked>

Source

pub fn apply_unary_elementwise(&self, f: impl Fn(&Series) -> Series) -> Column

Source

pub fn try_apply_unary_elementwise( &self, f: impl Fn(&Series) -> PolarsResult<Series>, ) -> PolarsResult<Column>

Source

pub fn apply_broadcasting_binary_elementwise( &self, other: &Self, op: impl Fn(&Series, &Series) -> Series, ) -> PolarsResult<Column>

Source

pub fn try_apply_broadcasting_binary_elementwise( &self, other: &Self, op: impl Fn(&Series, &Series) -> PolarsResult<Series>, ) -> PolarsResult<Column>

Source

pub fn apply_binary_elementwise( &self, other: &Self, f: impl Fn(&Series, &Series) -> Series, f_lb: impl Fn(&Scalar, &Series) -> Series, f_rb: impl Fn(&Series, &Scalar) -> Series, ) -> Column

Source

pub fn try_apply_binary_elementwise( &self, other: &Self, f: impl Fn(&Series, &Series) -> PolarsResult<Series>, f_lb: impl Fn(&Scalar, &Series) -> PolarsResult<Series>, f_rb: impl Fn(&Series, &Scalar) -> PolarsResult<Series>, ) -> PolarsResult<Column>

Source

pub fn n_chunks(&self) -> usize

Trait Implementations§

Source§

impl<T> Add<T> for &Column
where T: Num + NumCast,

Source§

type Output = Column

The resulting type after applying the + operator.
Source§

fn add(self, rhs: T) -> Self::Output

Performs the + operation. Read more
Source§

impl<T> Add<T> for Column
where T: Num + NumCast,

Source§

type Output = Column

The resulting type after applying the + operator.
Source§

fn add(self, rhs: T) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for &Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl BitAnd for &Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
Source§

impl BitAnd for Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
Source§

impl BitOr for &Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOr for Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
Source§

impl BitXor for &Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
Source§

impl BitXor for Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
Source§

impl ChunkCompareEq<&Column> for Column

Source§

fn equal(&self, rhs: &Column) -> PolarsResult<BooleanChunked>

Create a boolean mask by checking for equality.

Source§

fn equal_missing(&self, rhs: &Column) -> PolarsResult<BooleanChunked>

Create a boolean mask by checking for equality.

Source§

fn not_equal(&self, rhs: &Column) -> PolarsResult<BooleanChunked>

Create a boolean mask by checking for inequality.

Source§

fn not_equal_missing(&self, rhs: &Column) -> PolarsResult<BooleanChunked>

Create a boolean mask by checking for inequality.

Source§

type Item = Result<ChunkedArray<BooleanType>, PolarsError>

Source§

impl ChunkCompareIneq<&Column> for Column

Source§

fn gt(&self, rhs: &Column) -> PolarsResult<BooleanChunked>

Create a boolean mask by checking if self > rhs.

Source§

fn gt_eq(&self, rhs: &Column) -> PolarsResult<BooleanChunked>

Create a boolean mask by checking if self >= rhs.

Source§

fn lt(&self, rhs: &Column) -> PolarsResult<BooleanChunked>

Create a boolean mask by checking if self < rhs.

Source§

fn lt_eq(&self, rhs: &Column) -> PolarsResult<BooleanChunked>

Create a boolean mask by checking if self <= rhs.

Source§

type Item = Result<ChunkedArray<BooleanType>, PolarsError>

Source§

impl Clone for Column

Source§

fn clone(&self) -> Column

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Column

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Column

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Column

Source§

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> Div<T> for &Column
where T: Num + NumCast,

Source§

type Output = Column

The resulting type after applying the / operator.
Source§

fn div(self, rhs: T) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<T> for Column
where T: Num + NumCast,

Source§

type Output = Column

The resulting type after applying the / operator.
Source§

fn div(self, rhs: T) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for &Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl From<ScalarColumn> for Column

Source§

fn from(value: ScalarColumn) -> Self

Converts to this type from the input type.
Source§

impl From<Series> for Column

Source§

fn from(series: Series) -> Self

Converts to this type from the input type.
Source§

impl FromIterator<Column> for DataFrame

Source§

fn from_iter<T: IntoIterator<Item = Column>>(iter: T) -> Self

§Panics

Panics if Column have different lengths.

Source§

impl IntoColumn for Column

Source§

impl<T> Mul<T> for &Column
where T: Num + NumCast,

Source§

type Output = Column

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: T) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<T> for Column
where T: Num + NumCast,

Source§

type Output = Column

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: T) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for &Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl PartialEq for Column

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T> Rem<T> for &Column
where T: Num + NumCast,

Source§

type Output = Column

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: T) -> Self::Output

Performs the % operation. Read more
Source§

impl<T> Rem<T> for Column
where T: Num + NumCast,

Source§

type Output = Column

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: T) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for &Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
Source§

impl Serialize for Column

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<T> Sub<T> for &Column
where T: Num + NumCast,

Source§

type Output = Column

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: T) -> Self::Output

Performs the - operation. Read more
Source§

impl<T> Sub<T> for Column
where T: Num + NumCast,

Source§

type Output = Column

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: T) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for &Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Column

Source§

type Output = Result<Column, PolarsError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more

Auto Trait Implementations§

§

impl !Freeze for Column

§

impl !RefUnwindSafe for Column

§

impl Send for Column

§

impl Sync for Column

§

impl Unpin for Column

§

impl !UnwindSafe for Column

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,