polars.Decimal#
- class polars.Decimal(*args: Any, **kwargs: Any)[source]#
Decimal 128-bit type with an optional precision and non-negative scale.
NOTE: this is an experimental work-in-progress feature and may not work as expected.
Methods
__init__
(precision, scale)base_type
()Return this DataType's fundamental/root type class.
Attributes
precision
scale