Created
June 9, 2016 23:36
-
-
Save larssono/e23f180f7c04031682f0fd696f816616 to your computer and use it in GitHub Desktop.
Convert graph.json
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
import pandas as pd | |
import json | |
graph = json.load(open('graph.json')) | |
df = pd.DataFrame(graph['vertices']) | |
df.to_csv('vertices.csv') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment