DAGDA SEARCH | Back to results | Support

pyarrow.bool_ — Apache Arrow v26.0.1

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

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>
On this page Edit on GitHub