woodwork.logical_types.Ordinal

class woodwork.logical_types.Ordinal(ranking=None)[source]

Represents Logical Types that contain ordered discrete values. Has ‘category’ as a standard tag.

Examples

["first", "second", "third"]
["bronze", "silver", "gold"]
__init__(ranking=None)[source]

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

Methods

__init__([ranking])

Initialize self.

Attributes

pandas_dtype

standard_tags

type_string