| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.date32.html | [Back] [Original] |
Section Navigation
Create instance of 32-bit date (days since UNIX epoch 1970-01-01).
Examples
Create an instance of 32-bit date type:
>>> import pyarrow as pa
>>> pa.date32()
DataType(date32[day])
Create a scalar with 32-bit date type:
>>> from datetime import date
>>> pa.scalar(date(2012, 1, 1), type=pa.date32())
<pyarrow.Date32Scalar: datetime.date(2012, 1, 1)>
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |