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 featuretools.Relationship(parent_variable, child_variable)[source]

Class to represent an relationship between entities

See also

EntitySet, Entity, Variable

__init__(parent_variable, child_variable)[source]

Create a relationship

Parameters
  • parent_variable (Discrete) – Instance of variable in parent entity. Must be a Discrete Variable

  • child_variable (Discrete) – Instance of variable in child entity. Must be a Discrete Variable

Methods

__init__(parent_variable, child_variable)

Create a relationship

from_dictionary(arguments, es)

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