DAGDA SEARCH | Back to results | Support

pyarrow.uint8 — Apache Arrow v26.0.1

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

pyarrow.uint8#

pyarrow.uint8()#

Create instance of unsigned int8 type.

Examples

Create an instance of unsigned int8 type:

>>> import pyarrow as pa
>>> pa.uint8()
DataType(uint8)
>>> print(pa.uint8())
uint8

Create an array with unsigned int8 type:

>>> pa.array([0, 1, 2], type=pa.uint8())
<pyarrow.lib.UInt8Array object at ...>
[
  0,
  1,
  2
]
On this page Edit on GitHub