View source on GitHub |
Extracts the dictionary elements of a categorical column.
tfdf.py_tree.dataspec.categorical_column_dictionary_to_list(
column_spec: data_spec_pb2.Column
) -> List[str]
Fails if the column does not contains a dictionary, or if the dictionary is incomplete.
Args | |
---|---|
column_spec
|
Dataspec column. |
Returns | |
---|---|
The list of items. |