A RetroSearch Logo

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

Search Query:

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

pyarrow.large_list — Apache Arrow v21.0.0

pyarrow.large_list#
pyarrow.large_list(value_type) LargeListType#

Create LargeListType instance from child data type or field.

This data type may not be supported by all Arrow implementations. Unless you need to represent data larger than 2**31 elements, you should prefer list_().

Parameters:
value_typeDataType or Field
Returns:
list_typeDataType

Examples

Create an instance of LargeListType:

>>> import pyarrow as pa
>>> pa.large_list(pa.int8())
LargeListType(large_list<item: int8>)

Use the LargeListType to create an array:

>>> pa.array([[-1, 3]] * 5, type=pa.large_list(pa.int8()))
<pyarrow.lib.LargeListArray object at ...>
[
  [
    -1,
    3
  ],
  [
    -1,
    3
  ],
...

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