Currently I have built a network using NetworkX from source-target dataframe:
import networkx as nx G = nx.from_pandas_edgelist(df, source=\'Person1\', target=\'