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

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

pyarrow.bool_#

pyarrow.bool_()#

Create instance of boolean type.

Examples

Create an instance of a boolean type:

>>> import pyarrow as pa
>>> pa.bool_()
DataType(bool)
>>> print(pa.bool_())
bool

Create a Field type with a boolean type and a name:

>>> pa.field('bool_field', pa.bool_())
pyarrow.Field<bool_field: bool>

Web Proxy Viewer  |  New URL  |  Original Page