pyarrow.py_buffer

pyarrow.py_buffer(obj)

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

Parameters

obj (object) – the object from which the buffer should be constructed.