pyarrow.list_#

pyarrow.list_(value_type, int list_size=-1)#

Create ListType instance from child data type or field.

Parameters
value_typeDataType or Field
list_sizeint, optional, default -1

If length == -1 then return a variable length list type. If length is greater than or equal to 0 then return a fixed size list type.

Returns
list_typeDataType