pyarrow.allocate_buffer

pyarrow.allocate_buffer(int64_t size, MemoryPool pool=None)

Allocate mutable fixed-size buffer

Parameters:
  • size (int) – Number of bytes to allocate (plus internal padding)
  • pool (MemoryPool, optional) – Uses default memory pool if not provided