| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../generated/../generated/pyarrow.compress.html | [Back] [Original] |
Section Navigation
Compress data from buffer-like object.
pyarrow.Buffer, bytes, or other object supporting buffer protocolstr, default lz4Compression codec. Supported types: {brotli, gzip, lz4, lz4_raw, snappy, zstd}
FalseReturn result as Python bytes object, otherwise Buffer.
MemoryPool, default NoneMemory pool to use for buffer allocations, if any.
pyarrow.Buffer or bytes (if asbytes=True)
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |