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)>