- class woodwork.logical_types.CountryCode[source]¶
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.
["AU", "US", "UA"] ["GB", "NZ", "DE"]
Converts the series dtype to match the logical type's if it is different.
validate(series, *args, **kwargs)
Validates that a logical type is consistent with the series dtype.