woodwork.logical_types.
CountryCode
Represents Logical Types that use the ISO-3166 standard country code to represent countries. ISO 3166-1 (countries) are supported. These codes should be in the Alpha-2 format.
Examples
["AU", "US", "UA"] ["GB", "NZ", "DE"]
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__()
Initialize self.
transform(series)
transform
Converts the series dtype to match the logical type’s if it is different.
Attributes
backup_dtype
primary_dtype
standard_tags
type_string