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
Source§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
Source§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
Source§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
Source§type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
The resulting type after applying the
-
operator.