Created
December 29, 2019 07:15
-
-
Save prateekjoshi565/b26ae6f4ba87cc29c957ccde34588dd9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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