woodwork.logical_types.Categorical

class woodwork.logical_types.Categorical(encoding=None)[source]

Represents Logical Types that contain unordered discrete values that fall into one of a set of possible values. Has ‘category’ as a standard tag.

Examples

["red", "green", "blue"]
["produce", "dairy", "bakery"]
[3, 1, 2]
__init__(encoding=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([encoding])

Initialize self.

Attributes

backup_dtype

primary_dtype

standard_tags

type_string