polars::prelude

Function create_enum_dtype

Source
pub fn create_enum_dtype(categories: BinaryViewArrayGeneric<str>) -> DataType
Available on crate feature dtype-categorical only.