pyarrow.py_buffer

pyarrow.py_buffer(obj)

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