featuretools.variable_types.variable.CountryCode¶
-
class
featuretools.variable_types.variable.CountryCode(id, entity, name=None, categories=None)[source]¶ Represents an ISO-3166 standard country code. ISO 3166-1 (countries) are supported. These codes should be in the Alpha-2 format. e.g. United States of America = US
-
__init__(id, entity, name=None, categories=None)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(id, entity[, name, categories])Initialize self.
create_from(variable)Create new variable this type from existing
to_data_description()Attributes
dtypeentitysetinteresting_valuesnameseriestype_string-