例如,“约翰吃意大利面”: # create a directed-graph from a dataframe G=nx.from_pandas_edgelist(kg_df, "source", "