ak.is_categorical#
Defined in awkward.operations.ak_is_categorical on line 7.
- ak.is_categorical(array)#
 - Parameters
 array – Array-like data (anything
ak.to_layoutrecognizes).
If the array is categorical (contains ak.contents.IndexedArray or
ak.contents.IndexedOptionArray labeled with parameter
"__array__" = "categorical"), then this function returns True;
otherwise, it returns False.
See also ak.categories, ak.to_categorical, ak.from_categorical.