pyarrow.float64ΒΆ

pyarrow.float64()ΒΆ

Create double-precision floating point type.

Examples

Create an instance of float64 type:

>>> import pyarrow as pa
>>> pa.float64()
DataType(double)
>>> print(pa.float64())
double

Create an array with float64 type:

>>> pa.array([0.0, 1.0, 2.0], type=pa.float64())
<pyarrow.lib.DoubleArray object at ...>
[
  0,
  1,
  2
]