woodwork.logical_types.CountryCode

class woodwork.logical_types.CountryCode[source]

Represents Logical Types that contain categorical information specifically used to represent countries. Has ‘category’ as a standard tag.

Examples

["AUS", "USA", "UKR"]
["GB", "NZ", "DE"]
__init__()

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

Methods

__init__()

Initialize self.

transform(series)

Converts the series dtype to match the logical type’s if it is different.

Attributes

backup_dtype

primary_dtype

standard_tags

type_string