featuretools.Relationship¶
- class featuretools.Relationship(entityset, parent_dataframe_name, parent_column_name, child_dataframe_name, child_column_name)[source]¶
Class to represent a relationship between dataframes
See also
- __init__(entityset, parent_dataframe_name, parent_column_name, child_dataframe_name, child_column_name)[source]¶
Create a relationship
- Parameters
entityset (
EntitySet
) – EntitySet to which the relationship belongsparent_dataframe_name (str) – Name of the parent dataframe in the EntitySet
parent_column_name (str) – Name of the parent column
child_dataframe_name (str) – Name of the child dataframe in the EntitySet
child_column_name (str) – Name of the child column
Methods
__init__
(entityset, parent_dataframe_name, ...)Create a relationship
from_dictionary
(arguments, es)to_dictionary
()Attributes
child_column
Column in child dataframe
child_dataframe
Child dataframe object
child_name
The name of the child, relative to the parent.
parent_column
Column in parent dataframe
parent_dataframe
Parent dataframe object
parent_name
The name of the parent, relative to the child.