featuretools.variable_types.Categorical¶
-
class
featuretools.variable_types.
Categorical
(id, entity, name=None, categories=None)[source]¶ Represents variables that can take an unordered discrete values
- Parameters
categories (list) – List of categories. If left blank, inferred from data.
-
__init__
(id, entity, name=None, categories=None)[source]¶ 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
dtype
entityset
interesting_values
name
series
type_string