milesgranger opened a new pull request, #13921:
URL: https://github.com/apache/arrow/pull/13921

   Example:
   ```python
   In [1]: import io
   In [2]: import pyarrow as pa
   
   In [3]: pa.PythonFile(io.BytesIO())
   Out[3]: pyarrow.lib.PythonFile(own_file=False, is_seekable=False, 
is_writable=True, is_readable=False)
   
   In [4]: pa.Codec('gzip')
   Out[4]: pyarrow.lib.Codec(name=gzip, compression_level=9)
   
   In [5]: pool = pa.default_memory_pool()
   In [6]: pool
   Out[6]: pyarrow.lib.MemoryPool(backend_name=jemalloc, bytes_allocated=0, 
max_memory=0)
   
   In [7]: pa.allocate_buffer(1024, memory_pool=pool)
   Out[7]: pyarrow.lib.Buffer(size=1024, is_cpu=True, is_mutable=True)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to