woodwork.logical_types.SubRegionCode

class woodwork.logical_types.SubRegionCode[source]

Represents Logical Types that contain codes representing a portion of a larger geographic region. Has ‘category’ as a standard tag.

Examples

["US-CO", "US-MA", "US-CA"]
["AU-NSW", "AU-TAS", "AU-QLD"]
__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