[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../generated/../generated/pyarrow.date64.html [Back]  [Original]

pyarrow.date64 — Apache Arrow v25.0.1
Back to top
Search the docs ...:

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

Web Proxy Viewer  |  New URL  |  Original Page