[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.allocate_buffer.html [Back]  [Original]

pyarrow.allocate_buffer — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.allocate_buffer#

pyarrow.allocate_buffer(int64_t size, MemoryPool memory_pool=None, resizable=False)#

Allocate a mutable buffer.

Parameters:
sizeint

Number of bytes to allocate (plus internal padding)

memory_poolMemoryPool, optional

The pool to allocate memory from. If not given, the default memory pool is used.

resizablebool, default False

If true, the returned buffer is resizable.

Returns:
bufferBuffer or ResizableBuffer

Web Proxy Viewer  |  New URL  |  Original Page