Defined in awkward.operations.ak_from_categorical on line 10.

ak.from_categorical(array, *, highlevel=True, behavior=None)#

This function replaces categorical data with non-categorical data (by removing the label that declares it as such).

This is a metadata-only operation; the running time does not scale with the size of the dataset. (Conversion to categorical is expensive; conversion from categorical is cheap.)

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