ak.from_categorical#

Defined in awkward.operations.ak_from_categorical on line 6.

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

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.from_categorical.