A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://arrow.apache.org/docs/python/generated/pyarrow.chunked_array.html below:

pyarrow.chunked_array — Apache Arrow v20.0.0

pyarrow.chunked_array#
pyarrow.chunked_array(arrays, type=None)#

Construct chunked array from list of array-like objects

Parameters:
arraysArray, list of Array, or array-like

Must 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.

typeDataType or str coercible to DataType
Returns:
ChunkedArray

Examples

>>> 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
  ]
]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4