ak.categories#

Defined in awkward.operations.ak_categories on line 6.

ak.categories(array, highlevel=True)#
Parameters

If the array is categorical (contains ak.contents.IndexedArray or ak.contents.IndexedOptionArray labeled with parameter "__array__" = "categorical"), then this function returns its categories.

See also ak.is_categorical, ak.to_categorical, ak.from_categorical.