NOTICE

The upcoming release of Featuretools 1.0.0 contains several breaking changes. Users are encouraged to test this version prior to release:

pip install featuretools==1.0.0rc1

For details on migrating to the new version, refer to Transitioning to Featuretools Version 1.0. Please report any issues in the Featuretools GitHub repo or by messaging in Alteryx Open Source Slack.


featuretools.variable_types.variable.Boolean

class featuretools.variable_types.variable.Boolean(id, entity, name=None, true_values=None, false_values=None)[source]

Represents variables that take on one of two values

Parameters
  • true_values (list) – List of valued true values. Defaults to [1, True, “true”, “True”, “yes”, “t”, “T”]

  • false_values (list) – List of valued false values. Defaults to [0, False, “false”, “False”, “no”, “f”, “F”]

__init__(id, entity, name=None, true_values=None, false_values=None)[source]

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

Methods

__init__(id, entity[, name, true_values, …])

Initialize self.

create_from(variable)

Create new variable this type from existing

to_data_description()

Attributes

description

dtype

entityset

interesting_values

name

series

type_string