DAGDA SEARCH | Back to results | Support

pyarrow.date64 — Apache Arrow v26.0.1

Source: https://arrow.apache.org/docs/python/generated/pyarrow.date64.html

pyarrow.date64#

pyarrow.date64()#

Create instance of 64-bit date (milliseconds since UNIX epoch 1970-01-01).

Examples

Create an instance of 64-bit date type:

>>> import pyarrow as pa
>>> pa.date64()
DataType(date64[ms])

Create a scalar with 64-bit date type:

>>> from datetime import datetime
>>> pa.scalar(datetime(2012, 1, 1), type=pa.date64())
<pyarrow.Date64Scalar: datetime.date(2012, 1, 1)>
On this page Edit on GitHub