Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
node_1_unlinked = [i[0] for i in all_unconnected_pairs]
node_2_unlinked = [i[1] for i in all_unconnected_pairs]
data = pd.DataFrame({'node_1':node_1_unlinked,
# add target variable 'link'
data['link'] = 0
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.