Created
December 28, 2019 06:50
-
-
Save prateekjoshi565/4bd4ff0e8c2cd8c93e184dacf8d736d9 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
# captture nodes in 2 separate lists | |
node_list_1 = [] | |
node_list_2 = [] | |
for i in tqdm(fb_links): | |
node_list_1.append(i.split(',')[0]) | |
node_list_2.append(i.split(',')[1]) | |
fb_df = pd.DataFrame({'node_1': node_list_1, 'node_2': node_list_2}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment