pyarrow.Decimal128Type¶
-
class
pyarrow.Decimal128Type¶ Bases:
pyarrow.lib.FixedSizeBinaryTypeConcrete class for decimal128 data types.
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
equals(self, other)Return true if type is equivalent to passed value to_pandas_dtype(self)Return the equivalent NumPy / Pandas dtype. Attributes
bit_widthbyte_widthThe binary size in bytes. idprecisionThe decimal precision, in number of decimal digits (an integer). scaleThe decimal scale (an integer). -
bit_width¶
-
byte_width¶ The binary size in bytes.
-
equals(self, other)¶ Return true if type is equivalent to passed value
Parameters: other (DataType or string convertible to DataType) – Returns: is_equal (boolean)
-
id¶
-
precision¶ The decimal precision, in number of decimal digits (an integer).
-
scale¶ The decimal scale (an integer).
-
to_pandas_dtype(self)¶ Return the equivalent NumPy / Pandas dtype.
-