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