pyarrow.list_view#

pyarrow.list_view(value_type)ListViewType#

Create ListViewType instance from child data type or field.

This data type may not be supported by all Arrow implementationsbecause it is an alternative to the ListType.

Parameters:
value_typeDataType orField
Returns:
list_view_typeDataType

Examples

Create an instance of ListViewType:

>>>importpyarrowaspa>>>pa.list_view(pa.string())ListViewType(list_view<item: string>)