Type Alias polars_core::datatypes::DecimalChunked
source · pub type DecimalChunked = Logical<DecimalType, Int128Type>;
Available on crate feature
dtype-decimal
only.Aliased Type§
struct DecimalChunked(pub ChunkedArray<Int128Type>, _, pub Option<DataType>);
Fields§
§0: ChunkedArray<Int128Type>
§2: Option<DataType>
Implementations§
Trait Implementations§
source§impl Add for &DecimalChunked
impl Add for &DecimalChunked
§type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
The resulting type after applying the
+
operator.source§impl Div for &DecimalChunked
impl Div for &DecimalChunked
§type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
The resulting type after applying the
/
operator.source§impl IntoSeries for DecimalChunked
impl IntoSeries for DecimalChunked
source§impl LogicalType for DecimalChunked
impl LogicalType for DecimalChunked
source§fn dtype(&self) -> &DataType
fn dtype(&self) -> &DataType
Get data type of
ChunkedArray
.source§fn get_any_value(&self, i: usize) -> PolarsResult<AnyValue<'_>>
fn get_any_value(&self, i: usize) -> PolarsResult<AnyValue<'_>>
Gets
AnyValue
from LogicalType
fn cast_with_options( &self, dtype: &DataType, cast_options: CastOptions, ) -> PolarsResult<Series>
fn cast(&self, dtype: &DataType) -> PolarsResult<Series>
source§impl Mul for &DecimalChunked
impl Mul for &DecimalChunked
§type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
The resulting type after applying the
*
operator.source§impl Sub for &DecimalChunked
impl Sub for &DecimalChunked
§type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
The resulting type after applying the
-
operator.