pyarrow.int8#

pyarrow.int8()#

Create instance of signed int8 type.

Examples

Create an instance of int8 type:

>>>importpyarrowaspa>>>pa.int8()DataType(int8)>>>print(pa.int8())int8

Create an array with int8 type:

>>>pa.array([0,1,2],type=pa.int8())<pyarrow.lib.Int8Array object at ...>[  0,  1,  2]