pyarrow.int64

pyarrow.int64()

Create instance of signed int64 type.

Examples

Create an instance of int64 type:

>>> import pyarrow as pa
>>> pa.int64()
DataType(int64)
>>> print(pa.int64())
int64

Create an array with int64 type:

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