pyarrow.uint16#

pyarrow.uint16()#

Create instance of unsigned uint16 type.

Examples

Create an instance of unsigned int16 type:

>>>importpyarrowaspa>>>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]