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
]