pandera.engines.pandas_engine.ArrowDecimal128¶
- class pandera.engines.pandas_engine.ArrowDecimal128(precision=28, scale=0, rounding=<factory>)[source]¶
Semantic representation of a
pyarrow.decimal128
.Attributes
auto_coerce
Whether to force coerce to be True in all cases
continuous
Whether the number data type is continuous.
exact
Whether the data type is an exact representation of a number.
precision
The number of significant digits that the decimal type can represent.
scale
The number of digits after the decimal point.
type
Native pandas dtype boxed by the data type.
rounding
The rounding mode supported by the Python
decimal.Decimal
class.Methods
- check(pandera_dtype, data_container=None)[source]¶
Check that pandera
DataType
are equivalent.- Parameters:
- Return type:
- Returns:
boolean scalar or iterable of boolean scalars, indicating which elements passed the check.