pyarrow.py_buffer#

pyarrow.py_buffer(obj)#

Construct an Arrow buffer from a Python bytes-like or buffer-like object

Parameters:
objobject

the object from which the buffer should be constructed.