cudf.core.dtypes.ListDtype.to_arrow#

ListDtype.to_arrow()#

Convert to a pyarrow.ListType

Examples

>>> import cudf
>>> list_dtype = cudf.ListDtype(cudf.ListDtype("float32"))
>>> list_dtype
ListDtype(ListDtype(float32))
>>> list_dtype.to_arrow()
ListType(list<item: list<item: float>>)