\'\'\'import networkx as nx
import networkx as nx
G=nx.MultiGraph() import itertools for inv in df[df["Top 5 Investors"].notnull()]["Top 5 Investors"].