Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# drop removable edges
fb_df_partial = fb_df.drop(index=fb_df_ghost.index.values)
# build graph
G_data = nx.from_pandas_edgelist(fb_df_partial, "node_1", "node_2", create_using=nx.Graph())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.