pyarrow.list_

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

Create ListType instance from child data type or field.

Parameters
  • value_type (DataType or Field) –

  • list_size (int, 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_type (DataType)