hipdf.core.dtypes.ListDtype.leaf_type

hipdf.core.dtypes.ListDtype.leaf_type#

21 min read time

Applies to Linux

property ListDtype.leaf_type#

Returns the type of the leaf values.

Examples#

>>> import cudf
>>> deep_nested_type = cudf.ListDtype(cudf.ListDtype(cudf.ListDtype("float32")))
>>> deep_nested_type
ListDtype(ListDtype(ListDtype(float32)))
>>> deep_nested_type.leaf_type
'float32'