ak.is_categorical ----------------- .. py:module: ak.is_categorical Defined in `awkward.operations.ak_is_categorical `__ on `line 12 `__. .. py:function:: ak.is_categorical(array) :param array: Array-like data (anything :py:obj:`ak.to_layout` recognizes). If the ``array`` is categorical (contains :py:obj:`ak.contents.IndexedArray` or :py:obj:`ak.contents.IndexedOptionArray` labeled with parameter ``"__array__" = "categorical"``), then this function returns True; otherwise, it returns False. See also :py:obj:`ak.categories`, :py:obj:`ak.str.to_categorical`, :py:obj:`ak.from_categorical`.