woodwork.logical_types.
Ordinal
Represents Logical Types that contain ordered discrete values. Has ‘category’ as a standard tag.
order (list or tuple) – An list or tuple specifying the order of the ordinal values from low to high. The underlying series cannot contain values that are not present in the order values.
Examples
["first", "second", "third"] ["bronze", "silver", "gold"]
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(order)
Initialize self.
Attributes
backup_dtype
pandas_dtype
standard_tags
type_string