pyarrow.large_binary

pyarrow.large_binary()

Create large variable-length binary type.

This data type may not be supported by all Arrow implementations. Unless you need to represent data larger than 2GB, you should prefer binary().

Examples

Create an instance of large variable-length binary type:

>>> import pyarrow as pa
>>> pa.large_binary()
DataType(large_binary)

and use the type to create an array:

>>> pa.array(['foo', 'bar', 'baz'], type=pa.large_binary())
<pyarrow.lib.LargeBinaryArray object at ...>
[
  666F6F,
  626172,
  62617A
]