pyarrow.float64#

pyarrow.float64()#

Create double-precision floating point type.

Examples

Create an instance of float64 type:

>>>importpyarrowaspa>>>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]