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.EntitySet.add_relationships

EntitySet.add_relationships(relationships)[source]

Add multiple new relationships to a entityset

Parameters

relationships (list[tuple(str, str, str, str)] or list[Relationship]) – List of new relationships to add. Relationships are specified either as a Relationship object or a four element tuple identifying the parent and child columns: (parent_dataframe_name, parent_column_name, child_dataframe_name, child_column_name)