NOTICE
The upcoming release of Featuretools 1.0.0 contains several breaking changes. Users are encouraged to test this version prior to release by installing from GitHub:
pip install https://github.com/alteryx/featuretools/archive/woodwork-integration.zip
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.
Relationship
Class to represent an relationship between entities
See also
EntitySet, Entity, Variable
EntitySet
Entity
Variable
__init__
Create a relationship
parent_variable (Discrete) – Instance of variable in parent entity. Must be a Discrete Variable
Discrete
child_variable (Discrete) – Instance of variable in child entity. Must be a Discrete Variable
Methods
__init__(parent_variable, child_variable)
from_dictionary(arguments, es)
from_dictionary
to_dictionary()
to_dictionary
Attributes
child_entity
Child entity object
child_name
The name of the child, relative to the parent.
child_variable
Instance of variable in child entity
parent_entity
Parent entity object
parent_name
The name of the parent, relative to the child.
parent_variable
Instance of variable in parent entity