featuretools.graph_feature#
- featuretools.graph_feature(feature, to_file=None, description=False, **kwargs)[source]#
Generates a feature lineage graph for the given feature
- Parameters:
feature (FeatureBase) – Feature to generate lineage graph for
to_file (str, optional) – Path to where the plot should be saved. If set to None (as by default), the plot will not be saved.
description (bool or str, optional) – The feature description to use as a caption for the graph. If False, no description is added. Set to True to use an auto-generated description. Defaults to False.
kwargs (keywords) – Additional keyword arguments to pass as keyword arguments to the ft.describe_feature function.
- Returns:
Graph object that can directly be displayed in Jupyter notebooks.
- Return type:
graphviz.Digraph