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

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

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
]

Web Proxy Viewer  |  New URL  |  Original Page