tfdf.py_tree.dataspec.categorical_column_dictionary_to_list

Extracts the dictionary elements of a categorical column.

Fails if the column does not contains a dictionary, or if the dictionary is incomplete.

Fails if a categorical column has classes not encoded in unicode. This case is not supported in TF-DF but might be supported in YDF.

column_spec Dataspec column.

The list of items.