| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.chunked_array.html#pyarrow.chunked_array | [Back] [Original] |
Section Navigation
Construct chunked array from list of array-like objects
Array, list of Array, or array-likeMust all be the same data type. Can be empty only if type also passed.
Any Arrow-compatible array that implements the Arrow PyCapsule Protocol
(has an __arrow_c_array__ or __arrow_c_stream__ method) can be
passed as well.
DataType or str coercible to DataTypeExamples
>>> import pyarrow as pa
>>> pa.chunked_array([], type=pa.int8())
<pyarrow.lib.ChunkedArray object at ...>
[
...
]
>>> pa.chunked_array([[2, 2, 4], [4, 5, 100]])
<pyarrow.lib.ChunkedArray object at ...>
[
[
2,
2,
4
],
[
4,
5,
100
]
]
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 |