pyarrow.uint16 — Apache Arrow v22.0.0 (original) (raw)
pyarrow.uint16()#
Create instance of unsigned uint16 type.
Examples
Create an instance of unsigned int16 type:
import pyarrow as pa pa.uint16() DataType(uint16) print(pa.uint16()) uint16
Create an array with unsigned int16 type:
pa.array([0, 1, 2], type=pa.uint16()) <pyarrow.lib.UInt16Array object at ...> [ 0, 1, 2 ]