diff --git a/graphrag/index/flows/create_base_entity_graph.py b/graphrag/index/flows/create_base_entity_graph.py index 8a4a7c684..a1abf070e 100644 --- a/graphrag/index/flows/create_base_entity_graph.py +++ b/graphrag/index/flows/create_base_entity_graph.py @@ -165,7 +165,6 @@ def _prep_communities(communities) -> pd.DataFrame: ).explode("title") - def _compute_degree(graph: nx.Graph) -> pd.DataFrame: return pd.DataFrame([ {"name": node, "degree": int(degree)}